Midnight Blue Game and Engine
Public Member Functions | List of all members
MB2D.RunASTNode Class Reference

AST node entry point for executing a run command More...

Inheritance diagram for MB2D.RunASTNode:
Inheritance graph
Collaboration diagram for MB2D.RunASTNode:
Collaboration graph

Public Member Functions

 RunASTNode (string ident, params string[] args)
 Initializes a new instance of the T:MB2D.RunASTNode class. More...
 
override void Handle (MBConsole console)
 Checks for valid identifier and executes the given function from the console if correctly defined. More...
 

Detailed Description

AST node entry point for executing a run command

Constructor & Destructor Documentation

§ RunASTNode()

MB2D.RunASTNode.RunASTNode ( string  ident,
params string []  args 
)
inline

Initializes a new instance of the T:MB2D.RunASTNode class.

Parameters
identIdentifier of the function.
argsArguments to pass to the function.

Member Function Documentation

§ Handle()

override void MB2D.RunASTNode.Handle ( MBConsole  console)
inlinevirtual

Checks for valid identifier and executes the given function from the console if correctly defined.

Parameters
consoleConsole to handle.

Implements MB2D.MBConsoleASTNode.

Here is the call graph for this function:

The documentation for this class was generated from the following file: