DungeonMasterEngine.DungeonContent.Actuators.Wall.LeverActuator.PerformMessage C# (CSharp) Method

PerformMessage() protected method

protected PerformMessage ( Tile targetTile, ActionStateX action, bool activated ) : void
targetTile Tile
action ActionStateX
activated bool
return void
        protected override void PerformMessage(Tile targetTile, ActionStateX action, bool activated)
        {
            targetTile.ExecuteContentActivator(new LogicTileActivator(action));
            Toggle(targetTile);
        }