C# 클래스 UHSampleGame.CoreObjects.Base.Base

상속: StaticTileObject
파일 보기 프로젝트 열기: holtkampw/UH-Sample-XNA-Project 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
PlayerNum int
Position Vector3
TeamNum int
Tile UHSampleGame.TileSystem.Tile

보호된 프로퍼티들

프로퍼티 타입 설명
goalBase Base
health int
scale float
tile UHSampleGame.TileSystem.Tile

공개 메소드들

메소드 설명
Base ( Model model ) : System
Base ( int playerNum, int teamNum, BaseType baseType, Tile tile ) : System
Draw ( GameTime gameTime ) : void
GetTile ( ) : Tile
HitBase ( int damage ) : void
IsThereAPathTo ( int tileID, int blockedTile ) : bool
RotateX ( float rotation ) : void
RotateY ( float rotation ) : void
RotateZ ( float rotation ) : void
SetGoalBase ( Base goalBase ) : void
SetPlayerNum ( int newPlayerNum ) : void
SetTeamNum ( int newTeamNum ) : void
SetupModel ( Model newModel, Vector3 position ) : void
Update ( GameTime gameTime ) : void
UpdateTransforms ( ) : void
UpdateView ( ) : void

보호된 메소드들

메소드 설명
OnBaseDestroyed ( ) : void
SetupCamera ( ) : void

Sets up default camera information

SetupModel ( Vector3 position ) : void

비공개 메소드들

메소드 설명
Destroy ( ) : void

메소드 상세

Base() 공개 메소드

public Base ( Model model ) : System
model Microsoft.Xna.Framework.Graphics.Model
리턴 System

Base() 공개 메소드

public Base ( int playerNum, int teamNum, BaseType baseType, Tile tile ) : System
playerNum int
teamNum int
baseType BaseType
tile UHSampleGame.TileSystem.Tile
리턴 System

Draw() 공개 메소드

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

GetTile() 공개 메소드

public GetTile ( ) : Tile
리턴 UHSampleGame.TileSystem.Tile

HitBase() 공개 메소드

public HitBase ( int damage ) : void
damage int
리턴 void

IsThereAPathTo() 공개 메소드

public IsThereAPathTo ( int tileID, int blockedTile ) : bool
tileID int
blockedTile int
리턴 bool

OnBaseDestroyed() 보호된 메소드

protected OnBaseDestroyed ( ) : void
리턴 void

RotateX() 공개 메소드

public RotateX ( float rotation ) : void
rotation float
리턴 void

RotateY() 공개 메소드

public RotateY ( float rotation ) : void
rotation float
리턴 void

RotateZ() 공개 메소드

public RotateZ ( float rotation ) : void
rotation float
리턴 void

SetGoalBase() 공개 메소드

public SetGoalBase ( Base goalBase ) : void
goalBase Base
리턴 void

SetPlayerNum() 공개 메소드

public SetPlayerNum ( int newPlayerNum ) : void
newPlayerNum int
리턴 void

SetTeamNum() 공개 메소드

public SetTeamNum ( int newTeamNum ) : void
newTeamNum int
리턴 void

SetupCamera() 보호된 메소드

Sets up default camera information
protected SetupCamera ( ) : void
리턴 void

SetupModel() 공개 메소드

public SetupModel ( Model newModel, Vector3 position ) : void
newModel Microsoft.Xna.Framework.Graphics.Model
position Vector3
리턴 void

SetupModel() 보호된 메소드

protected SetupModel ( Vector3 position ) : void
position Vector3
리턴 void

Update() 공개 메소드

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

UpdateTransforms() 공개 메소드

public UpdateTransforms ( ) : void
리턴 void

UpdateView() 공개 메소드

public UpdateView ( ) : void
리턴 void

프로퍼티 상세

PlayerNum 공개적으로 프로퍼티

public int PlayerNum
리턴 int

Position 공개적으로 프로퍼티

public Vector3 Position
리턴 Vector3

TeamNum 공개적으로 프로퍼티

public int TeamNum
리턴 int

Tile 공개적으로 프로퍼티

public Tile,UHSampleGame.TileSystem Tile
리턴 UHSampleGame.TileSystem.Tile

goalBase 보호되어 있는 프로퍼티

protected Base,UHSampleGame.CoreObjects.Base goalBase
리턴 Base

health 보호되어 있는 프로퍼티

protected int health
리턴 int

scale 보호되어 있는 프로퍼티

protected float scale
리턴 float

tile 보호되어 있는 프로퍼티

protected Tile,UHSampleGame.TileSystem tile
리턴 UHSampleGame.TileSystem.Tile