C# 클래스 Ctrl_Space.Gameplay.GameObject

파일 보기 프로젝트 열기: vkd/Ctrl-Space 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Alpha float
Collisions List
Color Color
DrawHP bool
HP int
Id int
IsDestroyed bool
Mass float
MaxHP int
Position Vector2
Rotation float
RotationSpeed float
Size float

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch, GameTime gameTime, Vector2 offset, Camera camera, DebugGeometry debugGeometry ) : void
GameObject ( ) : System
GetTexture ( ) : MetaTexture
ResetGameObject ( ) : void
Update ( World world, Particles particles ) : void

메소드 상세

Draw() 공개 메소드

public Draw ( SpriteBatch spriteBatch, GameTime gameTime, Vector2 offset, Camera camera, DebugGeometry debugGeometry ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
gameTime Microsoft.Xna.Framework.GameTime
offset Vector2
camera Ctrl_Space.Graphics.Camera
debugGeometry Ctrl_Space.Graphics.DebugGeometry
리턴 void

GameObject() 공개 메소드

public GameObject ( ) : System
리턴 System

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

public abstract GetTexture ( ) : MetaTexture
리턴 Ctrl_Space.Graphics.MetaTexture

ResetGameObject() 공개 메소드

public ResetGameObject ( ) : void
리턴 void

Update() 공개 메소드

public Update ( World world, Particles particles ) : void
world World
particles Ctrl_Space.Graphics.Particles
리턴 void

프로퍼티 상세

Alpha 공개적으로 프로퍼티

public float Alpha
리턴 float

Collisions 공개적으로 프로퍼티

public List Collisions
리턴 List

Color 공개적으로 프로퍼티

public Color Color
리턴 Color

DrawHP 공개적으로 프로퍼티

public bool DrawHP
리턴 bool

HP 공개적으로 프로퍼티

public int HP
리턴 int

Id 공개적으로 프로퍼티

public int Id
리턴 int

IsDestroyed 공개적으로 프로퍼티

public bool IsDestroyed
리턴 bool

Mass 공개적으로 프로퍼티

public float Mass
리턴 float

MaxHP 공개적으로 프로퍼티

public int MaxHP
리턴 int

Position 공개적으로 프로퍼티

public Vector2 Position
리턴 Vector2

Rotation 공개적으로 프로퍼티

public float Rotation
리턴 float

RotationSpeed 공개적으로 프로퍼티

public float RotationSpeed
리턴 float

Size 공개적으로 프로퍼티

public float Size
리턴 float