C# 클래스 Drought.Entity.MovableEntity

파일 보기 프로젝트 열기: kiniry-teaching/UCD 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
hasMoved bool
radius float
uniqueID int

공개 메소드들

메소드 설명
MovableEntity ( GameState gameState, LevelInfo aLevelInfo, Model3D aModel, Path aPath, int uid, float spd, float rad, int maxh, int maxw, float waterSuckAmt, int waterRadius ) : System
addWater ( float amt ) : void
checkStaticCollision ( MovableEntity a, MovableEntity b ) : bool
getOrientation ( ) : Matrix
getPath ( ) : Path
getPosition ( ) : Vector3
hurt ( int oww ) : void
isDead ( ) : bool
isFullOfWater ( ) : bool
rebuildRing ( ) : void
removeAllWater ( ) : void
render ( GraphicsDevice graphics, Camera camera, Sun sun ) : void
renderInfoBox ( GraphicsDevice graphics, Camera camera ) : void
setOrientation ( Matrix anOrientation ) : void
setPath ( Path aPath ) : void
setPosition ( Vector3 aPosition ) : void
setSelected ( bool aSelected ) : void
update ( ) : void
wait ( int numUpdates ) : void

보호된 메소드들

메소드 설명
checkForWater ( ) : void
suckTehWaterz ( ) : void

비공개 메소드들

메소드 설명
move ( ) : void
setOrientation ( ) : void

메소드 상세

MovableEntity() 공개 메소드

public MovableEntity ( GameState gameState, LevelInfo aLevelInfo, Model3D aModel, Path aPath, int uid, float spd, float rad, int maxh, int maxw, float waterSuckAmt, int waterRadius ) : System
gameState Drought.State.GameState
aLevelInfo Drought.World.LevelInfo
aModel Drought.Graphics.Model3D
aPath Path
uid int
spd float
rad float
maxh int
maxw int
waterSuckAmt float
waterRadius int
리턴 System

addWater() 공개 메소드

public addWater ( float amt ) : void
amt float
리턴 void

checkForWater() 보호된 메소드

protected checkForWater ( ) : void
리턴 void

checkStaticCollision() 공개 정적인 메소드

public static checkStaticCollision ( MovableEntity a, MovableEntity b ) : bool
a MovableEntity
b MovableEntity
리턴 bool

getOrientation() 공개 메소드

public getOrientation ( ) : Matrix
리턴 Matrix

getPath() 공개 메소드

public getPath ( ) : Path
리턴 Path

getPosition() 공개 메소드

public getPosition ( ) : Vector3
리턴 Vector3

hurt() 공개 메소드

public hurt ( int oww ) : void
oww int
리턴 void

isDead() 공개 메소드

public isDead ( ) : bool
리턴 bool

isFullOfWater() 공개 메소드

public isFullOfWater ( ) : bool
리턴 bool

rebuildRing() 공개 메소드

public rebuildRing ( ) : void
리턴 void

removeAllWater() 공개 메소드

public removeAllWater ( ) : void
리턴 void

render() 공개 메소드

public render ( GraphicsDevice graphics, Camera camera, Sun sun ) : void
graphics GraphicsDevice
camera Drought.World.Camera
sun Drought.World.Sun
리턴 void

renderInfoBox() 공개 메소드

public renderInfoBox ( GraphicsDevice graphics, Camera camera ) : void
graphics GraphicsDevice
camera Drought.World.Camera
리턴 void

setOrientation() 공개 메소드

public setOrientation ( Matrix anOrientation ) : void
anOrientation Matrix
리턴 void

setPath() 공개 메소드

public setPath ( Path aPath ) : void
aPath Path
리턴 void

setPosition() 공개 메소드

public setPosition ( Vector3 aPosition ) : void
aPosition Vector3
리턴 void

setSelected() 공개 메소드

public setSelected ( bool aSelected ) : void
aSelected bool
리턴 void

suckTehWaterz() 보호된 메소드

protected suckTehWaterz ( ) : void
리턴 void

update() 공개 메소드

public update ( ) : void
리턴 void

wait() 공개 메소드

public wait ( int numUpdates ) : void
numUpdates int
리턴 void

프로퍼티 상세

hasMoved 공개적으로 프로퍼티

public bool hasMoved
리턴 bool

radius 공개적으로 프로퍼티

public float radius
리턴 float

uniqueID 공개적으로 프로퍼티

public int uniqueID
리턴 int