Midnight Blue Game and Engine
Namespaces | Classes | Enumerations
MB2D Namespace Reference

Namespaces

Classes

class  Collectable
 Defines an object that can be contained within components and systems that operate on collectible items, such as Inventory. More...
 
class  MBConsole
 Midnight Blue debug console class. Executes attached methods and changes attached variables. More...
 
class  MBConsoleASTNode
 Class all AST nodes inherit from More...
 
class  MBConsoleLexer
 Breaks a string into a series of tokens to use for parsing the debug consoles command language More...
 
class  MBConsoleParser
 Parses command string input and executes it using a debug console. More...
 
class  MBGame
 This is the main type for your game. More...
 
class  MBMath
 Math helper class
 
class  PrintASTNode
 Prints a variable to the console. More...
 
class  QuitASTNode
 Handles quitting the game More...
 
class  RootASTNode
 The entry point for command execution with a single child. More...
 
class  RunASTNode
 AST node entry point for executing a run command More...
 
class  SetASTNode
 AST node representing the entry point for a 'set' command with an identifier and a value child More...
 
class  SoundTrigger
 Triggers a sound effect More...
 
class  SpriteBatchExtensions
 Extends SpriteBatch with MidnightBlue data structures.
 
class  Tile
 Represents a single tile in a tile map. More...
 
class  VariableASTNode
 Represents a variable with a type and a value More...
 
class  Vector2Extensions
 

Enumerations

enum  Token {
  Token.Unknown, Token.String, Token.Set, Token.Run,
  Token.Print, Token.Quit
}
 Category of tokens created by the lexer More...
 
enum  TileFlag { TileFlag.Passable, TileFlag.Impassable }
 Flags a tile as passable or impassable, used in collision checking. More...
 

Enumeration Type Documentation

§ TileFlag

enum MB2D.TileFlag
strong

Flags a tile as passable or impassable, used in collision checking.

Enumerator
Passable 

Flags a tile as walkable

Impassable 

Flags a tile as collidable and unable to be walked on.

§ Token

enum MB2D.Token
strong

Category of tokens created by the lexer

Enumerator
Unknown 

A value or an identifier

String 

A string sequence

Set 

A set command statement

Run 

A run command statement

Print 

A print command statement

Quit 

A quit command statement