C# 클래스 AIA.BuildingManager

파일 보기 프로젝트 열기: ArtificialIntelligenceApproximations/AIA 1 사용 예제들

공개 메소드들

메소드 설명
BuildingManager ( ) : System
DrawBuildings ( SpriteBatch p_SpriteBatch ) : void
KeyboardListener ( KeyboardState CurrentKeyboardState, KeyboardState LastKeyboardState, Microsoft.Xna.Framework.Input.MouseState CurrentMouseState, Microsoft.Xna.Framework.Input.MouseState LastMouseState ) : void
Update ( GameTime gameTime ) : void
UpdateSelectionList ( Rectangle SelectionBox ) : void

메소드 상세

BuildingManager() 공개 메소드

public BuildingManager ( ) : System
리턴 System

DrawBuildings() 공개 메소드

public DrawBuildings ( SpriteBatch p_SpriteBatch ) : void
p_SpriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

KeyboardListener() 공개 메소드

public KeyboardListener ( KeyboardState CurrentKeyboardState, KeyboardState LastKeyboardState, Microsoft.Xna.Framework.Input.MouseState CurrentMouseState, Microsoft.Xna.Framework.Input.MouseState LastMouseState ) : void
CurrentKeyboardState Microsoft.Xna.Framework.Input.KeyboardState
LastKeyboardState Microsoft.Xna.Framework.Input.KeyboardState
CurrentMouseState Microsoft.Xna.Framework.Input.MouseState
LastMouseState Microsoft.Xna.Framework.Input.MouseState
리턴 void

Update() 공개 메소드

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

UpdateSelectionList() 공개 메소드

public UpdateSelectionList ( Rectangle SelectionBox ) : void
SelectionBox Microsoft.Xna.Framework.Rectangle
리턴 void