C# 클래스 Engine.Objects.Person

파일 보기 프로젝트 열기: Radnen/sphere-sfml 1 사용 예제들

공개 메소드들

메소드 설명
CallScript ( PersonScripts script ) : void
CheckObstructions ( Vector2f &position, Line line ) : bool
CheckObstructions ( Vector2f &pos, Person other ) : bool
CheckObstructions ( Vector2f &pos, Vector2f &tileOffset, Tile tile ) : bool
ClearComands ( ) : void
Draw ( ) : void
GetBounds ( ) : Line[]
IsObstructedAt ( Vector2f pos ) : bool
IsQueueEmpty ( ) : bool
Person ( string name, SpritesetInstance spriteset, bool destroy ) : System
QueueCommand ( int command, bool imm ) : void
QueueScript ( object script, bool imm ) : void
SetScript ( PersonScripts script, object instance ) : void
UpdateCommandQueue ( ) : void

비공개 메소드들

메소드 설명
GetDirection ( string name ) : ObjectInstance
GetDirectionAt ( int index ) : string

메소드 상세

CallScript() 공개 메소드

public CallScript ( PersonScripts script ) : void
script PersonScripts
리턴 void

CheckObstructions() 공개 메소드

public CheckObstructions ( Vector2f &position, Line line ) : bool
position Vector2f
line Line
리턴 bool

CheckObstructions() 공개 메소드

public CheckObstructions ( Vector2f &pos, Person other ) : bool
pos Vector2f
other Person
리턴 bool

CheckObstructions() 공개 메소드

public CheckObstructions ( Vector2f &pos, Vector2f &tileOffset, Tile tile ) : bool
pos Vector2f
tileOffset Vector2f
tile Tile
리턴 bool

ClearComands() 공개 메소드

public ClearComands ( ) : void
리턴 void

Draw() 공개 메소드

public Draw ( ) : void
리턴 void

GetBounds() 공개 메소드

public GetBounds ( ) : Line[]
리턴 Line[]

IsObstructedAt() 공개 메소드

public IsObstructedAt ( Vector2f pos ) : bool
pos Vector2f
리턴 bool

IsQueueEmpty() 공개 메소드

public IsQueueEmpty ( ) : bool
리턴 bool

Person() 공개 메소드

public Person ( string name, SpritesetInstance spriteset, bool destroy ) : System
name string
spriteset SpritesetInstance
destroy bool
리턴 System

QueueCommand() 공개 메소드

public QueueCommand ( int command, bool imm ) : void
command int
imm bool
리턴 void

QueueScript() 공개 메소드

public QueueScript ( object script, bool imm ) : void
script object
imm bool
리턴 void

SetScript() 공개 메소드

public SetScript ( PersonScripts script, object instance ) : void
script PersonScripts
instance object
리턴 void

UpdateCommandQueue() 공개 메소드

public UpdateCommandQueue ( ) : void
리턴 void