Resolve() public abstract method

Resolve implements default action implementation (where applicable)
public abstract Resolve ( GameActorPosition target, IAtlas atlas, ITilesetTable tilesetTable ) : void
target GameActorPosition Target of the action
atlas IAtlas
tilesetTable ITilesetTable
return void
Esempio n. 1
0
 public void PickUp(IAtlas atlas, GameAction gameAction, Vector2 position, ITilesetTable tilesetTable = null)
 {
     if (gameAction is PickUp || gameAction is LayDown)
     {
         gameAction.Resolve(new GameActorPosition(this, position, LayerType.Object), atlas, tilesetTable);
     }
 }
Esempio n. 2
0
 public void ApplyGameAction(IAtlas atlas, GameAction gameAction, Vector2 position, ITilesetTable tilesetTable)
 {
     gameAction.Resolve(new GameActorPosition(this, position, LayerType.ObstacleInteractable), atlas, tilesetTable);
 }
Esempio n. 3
0
 public void PickUp(IAtlas atlas, GameAction gameAction, Vector2 position, ITilesetTable tilesetTable)
 {
     gameAction.Resolve(new GameActorPosition(this, position, LayerType.OnGroundInteractable), atlas, tilesetTable);
 }