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
파일 보기 프로젝트 열기: GoodAI/BrainSimulator 1 사용 예제들

공개 메소드들

메소드 설명
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