C# Class GoodAI.Modules.School.Worlds.PlumberWorld

Exibir arquivo Open project: GoodAI/BrainSimulator

Public Properties

Property Type Description
moveDownAction float
moveLeftAction float
moveRightAction float
moveUpAction float

Protected Properties

Property Type Description
GameObjectInControl GameObject

Public Methods

Method Description
CreateAgent ( ) : MovableGameObject
CreateAgent ( PointF p, float size = 1.0f ) : MovableGameObject
CreateAgent ( string iconPath, PointF position ) : MovableGameObject
CreateDoor ( PointF p, bool isClosed = true, float size = 1.0f ) : GameObject
CreateLever ( PointF p, ISwitchable obj, bool isOn = false, float size = 1.0f ) : GameObject
CreateLever ( PointF p, bool isOn = false, float size = 1.0f ) : GameObject
CreateMovableTarget ( PointF p, float size = 1.0f ) : MovableGameObject
CreateRogueKiller ( PointF p, float size = 1.0f ) : GameObject
CreateRogueMovableKiller ( PointF p, float size = 1.0f ) : MovableGameObject
CreateTarget ( PointF p, float size = 1.0f ) : GameObject
CreateTasks ( ) : void
CreateWall ( PointF p, float size = 1.0f ) : GameObject
PlumberWorld ( ) : GoodAI.Core.Nodes
Validate ( MyValidator validator ) : void

Method Details

CreateAgent() public method

public CreateAgent ( ) : MovableGameObject
return MovableGameObject

CreateAgent() public method

public CreateAgent ( PointF p, float size = 1.0f ) : MovableGameObject
p System.Drawing.PointF
size float
return MovableGameObject

CreateAgent() public method

public CreateAgent ( string iconPath, PointF position ) : MovableGameObject
iconPath string
position System.Drawing.PointF
return MovableGameObject

CreateDoor() public method

public CreateDoor ( PointF p, bool isClosed = true, float size = 1.0f ) : GameObject
p System.Drawing.PointF
isClosed bool
size float
return GameObject

CreateLever() public method

public CreateLever ( PointF p, ISwitchable obj, bool isOn = false, float size = 1.0f ) : GameObject
p System.Drawing.PointF
obj ISwitchable
isOn bool
size float
return GameObject

CreateLever() public method

public CreateLever ( PointF p, bool isOn = false, float size = 1.0f ) : GameObject
p System.Drawing.PointF
isOn bool
size float
return GameObject

CreateMovableTarget() public method

public CreateMovableTarget ( PointF p, float size = 1.0f ) : MovableGameObject
p System.Drawing.PointF
size float
return MovableGameObject

CreateRogueKiller() public method

public CreateRogueKiller ( PointF p, float size = 1.0f ) : GameObject
p System.Drawing.PointF
size float
return GameObject

CreateRogueMovableKiller() public method

public CreateRogueMovableKiller ( PointF p, float size = 1.0f ) : MovableGameObject
p System.Drawing.PointF
size float
return MovableGameObject

CreateTarget() public method

public CreateTarget ( PointF p, float size = 1.0f ) : GameObject
p System.Drawing.PointF
size float
return GameObject

CreateTasks() public method

public CreateTasks ( ) : void
return void

CreateWall() public method

public CreateWall ( PointF p, float size = 1.0f ) : GameObject
p System.Drawing.PointF
size float
return GameObject

PlumberWorld() public method

public PlumberWorld ( ) : GoodAI.Core.Nodes
return GoodAI.Core.Nodes

Validate() public method

public Validate ( MyValidator validator ) : void
validator MyValidator
return void

Property Details

GameObjectInControl protected_oe property

protected GameObject GameObjectInControl
return GameObject

moveDownAction public_oe property

public float moveDownAction
return float

moveLeftAction public_oe property

public float moveLeftAction
return float

moveRightAction public_oe property

public float moveRightAction
return float

moveUpAction public_oe property

public float moveUpAction
return float