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

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

Public Methods

Method Description
GetDefaultSize ( ) : Size
GetDefaultTexture ( ) : string
RogueLever ( PointF p, ISwitchable switchableObject = null, bool isOn = false, 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

RogueLever() public method

public RogueLever ( PointF p, ISwitchable switchableObject = null, bool isOn = false, float scale = 1.0f ) : GoodAI.Core.Nodes
p System.Drawing.PointF
switchableObject ISwitchable
isOn 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