C# 클래스 MiningGame.Code.Entities.PlayerEntity

상속: EntityMoveable
파일 보기 프로젝트 열기: geel9/Minor-Destruction 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
EquippedItem System.Item
FacingLeft bool
LegsAnimateable Animateable
OtherPlayerNetworkFlags byte
PClass MiningGame.Code.PlayerClasses.PlayerClass
PlayerID byte
PlayerName string
TorsoAnimateable Animateable
playerTeam int

공개 메소드들

메소드 설명
Draw ( SpriteBatch sb ) : void
GetAimingAngle ( ) : short
GetBlockAimingAt ( ) : Vector2
OnAttack ( ) : void
PlayerEntity ( Vector2 position, byte playerID, string name = "Player" ) : System
Update ( GameTime time ) : void

메소드 상세

Draw() 공개 메소드

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

GetAimingAngle() 공개 메소드

public GetAimingAngle ( ) : short
리턴 short

GetBlockAimingAt() 공개 메소드

public GetBlockAimingAt ( ) : Vector2
리턴 Vector2

OnAttack() 공개 메소드

public OnAttack ( ) : void
리턴 void

PlayerEntity() 공개 메소드

public PlayerEntity ( Vector2 position, byte playerID, string name = "Player" ) : System
position Vector2
playerID byte
name string
리턴 System

Update() 공개 메소드

public Update ( GameTime time ) : void
time Microsoft.Xna.Framework.GameTime
리턴 void

프로퍼티 상세

EquippedItem 공개적으로 프로퍼티

public Item,System EquippedItem
리턴 System.Item

FacingLeft 공개적으로 프로퍼티

public bool FacingLeft
리턴 bool

LegsAnimateable 공개적으로 프로퍼티

public Animateable LegsAnimateable
리턴 Animateable

OtherPlayerNetworkFlags 공개적으로 프로퍼티

public byte OtherPlayerNetworkFlags
리턴 byte

PClass 공개적으로 프로퍼티

public PlayerClass,MiningGame.Code.PlayerClasses PClass
리턴 MiningGame.Code.PlayerClasses.PlayerClass

PlayerID 공개적으로 프로퍼티

public byte PlayerID
리턴 byte

PlayerName 공개적으로 프로퍼티

public string PlayerName
리턴 string

TorsoAnimateable 공개적으로 프로퍼티

public Animateable TorsoAnimateable
리턴 Animateable

playerTeam 공개적으로 프로퍼티

public int playerTeam
리턴 int