C# 클래스 World.GameActors.GameObjects.Avatar

상속: Character, IAvatar
파일 보기 프로젝트 열기: GoodAI/BrainSimulator 1 사용 예제들

공개 메소드들

메소드 설명
AddToInventory ( IPickableGameActor item ) : bool
Avatar ( string tilesetName, int tileId, string name, int id, System.Vector2 initialPosition, System.Vector2 size, float direction ) : System.Drawing
RemoveFromInventory ( ) : IPickableGameActor
ResetControls ( ) : void
Update ( IAtlas atlas, ITilesetTable table ) : void

비공개 메소드들

메소드 설명
BalanceTemperature ( float temperatureAround, float energyDiff ) : void
BoundValue ( float &value, float min, float max ) : void
EatFruit ( GameActorPosition applePosition ) : void
GetInteractableObjectsInFrontOf ( IAtlas atlas ) : List
GetInteractableTilesInFrontOf ( IAtlas atlas ) : List
InteractWithAllInteractablesInFrontOf ( IAtlas atlas, ITilesetTable table ) : void
LogAvatarStatus ( IAtlas atlas, float temperatureAround ) : void
LoseEnergy ( ) : void
LoseRest ( ) : void
PerformLayDown ( IAtlas atlas, ITilesetTable tilesetTable ) : bool
PerformPickup ( IAtlas atlas, ITilesetTable tilesetTable ) : bool
RemoveSpeed ( GameActorPosition target ) : void

메소드 상세

AddToInventory() 공개 메소드

public AddToInventory ( IPickableGameActor item ) : bool
item IPickableGameActor
리턴 bool

Avatar() 공개 메소드

public Avatar ( string tilesetName, int tileId, string name, int id, System.Vector2 initialPosition, System.Vector2 size, float direction ) : System.Drawing
tilesetName string
tileId int
name string
id int
initialPosition System.Vector2
size System.Vector2
direction float
리턴 System.Drawing

RemoveFromInventory() 공개 메소드

public RemoveFromInventory ( ) : IPickableGameActor
리턴 IPickableGameActor

ResetControls() 공개 메소드

public ResetControls ( ) : void
리턴 void

Update() 공개 메소드

public Update ( IAtlas atlas, ITilesetTable table ) : void
atlas IAtlas
table ITilesetTable
리턴 void