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

Inheritance: GameObject, ISwitchable
Show file Open project: GoodAI/BrainSimulator Class Usage Examples

Public Methods

Method Description
GetDefaultSize ( ) : Size
GetDefaultTexture ( ) : string
RogueDoor ( PointF p, bool isClosed = true, float scale = 1.0f ) : GoodAI.Core.Nodes
Switch ( ) : void
Switch ( bool on ) : void
SwitchOnCollision ( ) : bool

Method Details

GetDefaultSize() public static method

public static GetDefaultSize ( ) : Size
return System.Drawing.Size

GetDefaultTexture() public static method

public static GetDefaultTexture ( ) : string
return string

RogueDoor() public method

public RogueDoor ( PointF p, bool isClosed = true, float scale = 1.0f ) : GoodAI.Core.Nodes
p System.Drawing.PointF
isClosed bool
scale float
return GoodAI.Core.Nodes

Switch() public method

public Switch ( ) : void
return void

Switch() public method

public Switch ( bool on ) : void
on bool
return void

SwitchOnCollision() public method

public SwitchOnCollision ( ) : bool
return bool