scripting::Platform Class Reference

#include <platform.hpp>

List of all members.

Public Member Functions

 Platform (_Platform *platform)
 ~Platform ()
void goto_node (int node_no)
 Move platform until at given node, then stop.
void start_moving ()
 Start moving platform.
void stop_moving ()
 Stop platform at next node.

Public Attributes

_Platformplatform

Private Member Functions

 Platform (const Platform &)
Platformoperator= (const Platform &)


Detailed Description

Definition at line 27 of file platform.hpp.


Constructor & Destructor Documentation

scripting::Platform::Platform ( _Platform platform  ) 

Platform::~Platform (  ) 

Definition at line 28 of file platform.cpp.

00029 { }

scripting::Platform::Platform ( const Platform  )  [private]


Member Function Documentation

void Platform::goto_node ( int  node_no  ) 

Move platform until at given node, then stop.

Definition at line 31 of file platform.cpp.

References Platform::goto_node().

Referenced by scripting::wrapper::Platform_goto_node_wrapper().

00032 {
00033   platform->goto_node(node_no);
00034 }

void Platform::start_moving (  ) 

Start moving platform.

Definition at line 36 of file platform.cpp.

References Platform::start_moving().

Referenced by scripting::wrapper::Platform_start_moving_wrapper().

00037 {
00038   platform->start_moving();
00039 }

void Platform::stop_moving (  ) 

Stop platform at next node.

Definition at line 41 of file platform.cpp.

References Platform::stop_moving().

Referenced by scripting::wrapper::Platform_stop_moving_wrapper().

00042 {
00043   platform->stop_moving();
00044 }

Platform& scripting::Platform::operator= ( const Platform  )  [private]


Member Data Documentation

_Platform* scripting::Platform::platform

Definition at line 45 of file platform.hpp.


The documentation for this class was generated from the following files:
Generated on Mon Jun 9 03:38:40 2014 for SuperTux by  doxygen 1.5.1