C# 클래스 PathfindingTest.Units.Engineer

상속: Unit
파일 보기 프로젝트 열기: Wotuu/RTS_XNA_v2 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Draw void

공개 메소드들

메소드 설명
Engineer ( Player p, int x, int y ) : System

Engineer Constructor.

OnAggro ( AggroEvent e ) : void
OnAggroRecieved ( AggroEvent e ) : void
Repair ( PathfindingTest.Buildings.Building b ) : void
Swing ( Damageable target ) : void
Update ( KeyboardState ks, Microsoft.Xna.Framework.Input.MouseState ms ) : void

Standard Update function.

비공개 메소드들

메소드 설명
Draw ( SpriteBatch sb ) : void

Standard Draw function.

메소드 상세

Engineer() 공개 메소드

Engineer Constructor.
public Engineer ( Player p, int x, int y ) : System
p PathfindingTest.Players.Player
x int
y int
리턴 System

OnAggro() 공개 메소드

public OnAggro ( AggroEvent e ) : void
e PathfindingTest.Combat.AggroEvent
리턴 void

OnAggroRecieved() 공개 메소드

public OnAggroRecieved ( AggroEvent e ) : void
e PathfindingTest.Combat.AggroEvent
리턴 void

Repair() 공개 메소드

public Repair ( PathfindingTest.Buildings.Building b ) : void
b PathfindingTest.Buildings.Building
리턴 void

Swing() 공개 메소드

public Swing ( Damageable target ) : void
target Damageable
리턴 void

Update() 공개 메소드

Standard Update function.
public Update ( KeyboardState ks, Microsoft.Xna.Framework.Input.MouseState ms ) : void
ks Microsoft.Xna.Framework.Input.KeyboardState
ms Microsoft.Xna.Framework.Input.MouseState
리턴 void