C# 클래스 ProjectCow.GameObjectsManager

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

공개 메소드들

메소드 설명
AddExplosion ( Vector2 position ) : void
AddObject ( GameObject gameObject ) : void
AddRandomCow ( ) : void
AddRandomCowBomb ( ) : void
AddRandomObject ( ) : void
AddRandomTank ( ) : void
AddStartingCows ( ) : void
CheckCollisions ( ) : int
Draw ( SpriteBatch spriteBatch ) : void
ExplodeShip ( int milliseconds ) : void
GameObjectsManager ( Spaceship spaceship, Random random ) : System
LiftObjects ( Spaceship spaceship ) : LiftObject
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
RemoveObject ( GameObject gameObject ) : void
ShiftObjectsLeft ( ) : void
ShiftObjectsRight ( ) : void
Update ( GameTime gameTime ) : void

메소드 상세

AddExplosion() 공개 메소드

public AddExplosion ( Vector2 position ) : void
position Vector2
리턴 void

AddObject() 공개 메소드

public AddObject ( GameObject gameObject ) : void
gameObject GameObject
리턴 void

AddRandomCow() 공개 메소드

public AddRandomCow ( ) : void
리턴 void

AddRandomCowBomb() 공개 메소드

public AddRandomCowBomb ( ) : void
리턴 void

AddRandomObject() 공개 메소드

public AddRandomObject ( ) : void
리턴 void

AddRandomTank() 공개 메소드

public AddRandomTank ( ) : void
리턴 void

AddStartingCows() 공개 메소드

public AddStartingCows ( ) : void
리턴 void

CheckCollisions() 공개 메소드

public CheckCollisions ( ) : int
리턴 int

Draw() 공개 메소드

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

ExplodeShip() 공개 메소드

public ExplodeShip ( int milliseconds ) : void
milliseconds int
리턴 void

GameObjectsManager() 공개 메소드

public GameObjectsManager ( Spaceship spaceship, Random random ) : System
spaceship Spaceship
random System.Random
리턴 System

LiftObjects() 공개 메소드

public LiftObjects ( Spaceship spaceship ) : LiftObject
spaceship Spaceship
리턴 LiftObject

LoadContent() 공개 메소드

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
리턴 void

RemoveObject() 공개 메소드

public RemoveObject ( GameObject gameObject ) : void
gameObject GameObject
리턴 void

ShiftObjectsLeft() 공개 메소드

public ShiftObjectsLeft ( ) : void
리턴 void

ShiftObjectsRight() 공개 메소드

public ShiftObjectsRight ( ) : void
리턴 void

Update() 공개 메소드

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