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

Inheritance: DynamicTile, IPickableGameActor, ICombustibleGameActor, IInteractableGameActor
Mostra file Open project: GoodAI/BrainSimulator

Public Methods

Method Description
ApplyGameAction ( IAtlas atlas, GameAction gameAction, Vector2 position, ITilesetTable tilesetTable ) : void
Burn ( GameActorPosition gameActorPosition, IAtlas atlas, ITilesetTable table ) : void
Fruit ( ITilesetTable tilesetTable, Vector2I position ) : VRageMath
Fruit ( int tileType, Vector2I position ) : VRageMath
PickUp ( IAtlas atlas, GameAction gameAction, Vector2 position, ITilesetTable tilesetTable ) : 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

Burn() public method

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

Fruit() public method

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

Fruit() public method

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

PickUp() public method

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