C# Класс World.GameActors.Tiles.Obstacle.DamagedWall

DamagedWall has health from (0,1) excl. If health leq 0, it is replaced by DestroyedWall. Only way how to make damage is to use pickaxe.
Наследование: DynamicTile, IInteractableGameActor
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ApplyGameAction ( IAtlas atlas, GameAction gameAction, System.Vector2 position, ITilesetTable tilesetTable = null ) : void
DamagedWall ( float damage, ITilesetTable tilesetTable, Vector2I position ) : System

Приватные методы

Метод Описание
DamagedWall ( ITilesetTable tilesetTable, Vector2I position ) : System

Описание методов

ApplyGameAction() публичный Метод

public ApplyGameAction ( IAtlas atlas, GameAction gameAction, System.Vector2 position, ITilesetTable tilesetTable = null ) : void
atlas IAtlas
gameAction World.GameActions.GameAction
position System.Vector2
tilesetTable ITilesetTable
Результат void

DamagedWall() публичный Метод

public DamagedWall ( float damage, ITilesetTable tilesetTable, Vector2I position ) : System
damage float
tilesetTable ITilesetTable
position Vector2I
Результат System