World.GameActors.Tiles.ObstacleInteractable.LeverSwitchOn.ApplyGameAction C# (CSharp) Method

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
        public void ApplyGameAction(IAtlas atlas, GameAction gameAction, Vector2 position, ITilesetTable tilesetTable)
        {
            gameAction.Resolve(new GameActorPosition(this, Vector2.PositiveInfinity, LayerType.ObstacleInteractable), atlas, tilesetTable);
        }
    }