C# 클래스 ProjectCow.Cow

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

공개 메소드들

메소드 설명
Cow ( Vector2 position, float resistance, GameObjectsManager manager, Random random ) : System
Draw ( SpriteBatch spriteBatch ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
Update ( GameTime gameTime ) : void

비공개 메소드들

메소드 설명
Move ( ) : void
MoveRandomly ( GameTime gameTime ) : void

메소드 상세

Cow() 공개 메소드

public Cow ( Vector2 position, float resistance, GameObjectsManager manager, Random random ) : System
position Vector2
resistance float
manager GameObjectsManager
random System.Random
리턴 System

Draw() 공개 메소드

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

LoadContent() 공개 메소드

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

Update() 공개 메소드

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