C# Class World.GameActors.Tiles.ObstacleInteractable.LeverSwitchOn

Inheritance: DynamicTile, ISwitcherGameActor, IInteractableGameActor
Show file Open project: GoodAI/BrainSimulator Class Usage Examples

Public Methods

Method Description
ApplyGameAction ( IAtlas atlas, GameAction gameAction, Vector2 position, ITilesetTable tilesetTable ) : void
LeverSwitchOn ( ITilesetTable tilesetTable, Vector2I position ) : VRageMath
LeverSwitchOn ( int tileType, Vector2I position ) : VRageMath
Switch ( GameActorPosition gameActorPosition, IAtlas atlas, ITilesetTable table ) : void

Method Details

ApplyGameAction() public method

public ApplyGameAction ( IAtlas atlas, GameAction gameAction, Vector2 position, ITilesetTable tilesetTable ) : void
atlas IAtlas
gameAction World.GameActions.GameAction
position Vector2
tilesetTable ITilesetTable
return void

LeverSwitchOn() public method

public LeverSwitchOn ( ITilesetTable tilesetTable, Vector2I position ) : VRageMath
tilesetTable ITilesetTable
position Vector2I
return VRageMath

LeverSwitchOn() public method

public LeverSwitchOn ( int tileType, Vector2I position ) : VRageMath
tileType int
position Vector2I
return VRageMath

Switch() public method

public Switch ( GameActorPosition gameActorPosition, IAtlas atlas, ITilesetTable table ) : void
gameActorPosition GameActorPosition
atlas IAtlas
table ITilesetTable
return void