C# 클래스 CEngineSharp_Client.World.Entity.Player

상속: IEntity
파일 보기 프로젝트 열기: JohnLamontagne/CEngineSharp 1 사용 예제들

공개 메소드들

메소드 설명
AddInventoryItem ( Item item ) : void
ClearInventory ( ) : void
Draw ( RenderTarget target ) : void
DrawInventory ( RenderWindow window ) : void
GetInventoryItem ( int slotNum ) : Item
GetInventoryItem ( int invenX, int invenY ) : Item
MouseCordToSlotNum ( int mouseX, int mouseY ) : int
Move ( int newX, int newY, Directions direction ) : void
Player ( Texture texture, Vector2i position ) : System.Collections.Generic
TryDropInventoryItem ( int mouseX, int mouseY ) : void
TryMove ( ) : void
Update ( GameTime gameTime ) : void
Warp ( int newX, int newY, Directions direction ) : void

비공개 메소드들

메소드 설명
SendMovement ( int x, int y, Directions direction ) : void

메소드 상세

AddInventoryItem() 공개 메소드

public AddInventoryItem ( Item item ) : void
item Item
리턴 void

ClearInventory() 공개 메소드

public ClearInventory ( ) : void
리턴 void

Draw() 공개 메소드

public Draw ( RenderTarget target ) : void
target RenderTarget
리턴 void

DrawInventory() 공개 메소드

public DrawInventory ( RenderWindow window ) : void
window SFML.Graphics.RenderWindow
리턴 void

GetInventoryItem() 공개 메소드

public GetInventoryItem ( int slotNum ) : Item
slotNum int
리턴 Item

GetInventoryItem() 공개 메소드

public GetInventoryItem ( int invenX, int invenY ) : Item
invenX int
invenY int
리턴 Item

MouseCordToSlotNum() 공개 메소드

public MouseCordToSlotNum ( int mouseX, int mouseY ) : int
mouseX int
mouseY int
리턴 int

Move() 공개 메소드

public Move ( int newX, int newY, Directions direction ) : void
newX int
newY int
direction Directions
리턴 void

Player() 공개 메소드

public Player ( Texture texture, Vector2i position ) : System.Collections.Generic
texture SFML.Graphics.Texture
position Vector2i
리턴 System.Collections.Generic

TryDropInventoryItem() 공개 메소드

public TryDropInventoryItem ( int mouseX, int mouseY ) : void
mouseX int
mouseY int
리턴 void

TryMove() 공개 메소드

public TryMove ( ) : void
리턴 void

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime GameTime
리턴 void

Warp() 공개 메소드

public Warp ( int newX, int newY, Directions direction ) : void
newX int
newY int
direction Directions
리턴 void