C# 클래스 Bug.GameObject

파일 보기 프로젝트 열기: Projectfights/Fight-insect 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch ) : void
GameObject ( ) : System
GameObject ( Vector2 pos ) : System
GetBoundingBox ( ) : Rectangle
SetPos ( Vector2 pos ) : void
Update ( GameTime gameTime ) : void

메소드 상세

Draw() 공개 추상적인 메소드

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

GameObject() 공개 메소드

public GameObject ( ) : System
리턴 System

GameObject() 공개 메소드

public GameObject ( Vector2 pos ) : System
pos Vector2
리턴 System

GetBoundingBox() 공개 추상적인 메소드

public abstract GetBoundingBox ( ) : Rectangle
리턴 Microsoft.Xna.Framework.Rectangle

SetPos() 공개 메소드

public SetPos ( Vector2 pos ) : void
pos Vector2
리턴 void

Update() 공개 추상적인 메소드

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