C# 클래스 Tantric.World.WorldObject

Represents an object in a layer with a transform and graphic
상속: IPositionable
파일 보기 프로젝트 열기: TheEtiologist/tantric

공개 메소드들

메소드 설명
Draw ( GameTime gameTime, SpriteBatch batch, Camera cam ) : void

Draw the object. Override.

LoadResources ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
Rotate ( double delta ) : void
Scale ( Vector2 Factor ) : void
SetPosition ( Vector2 pos ) : void
SetRotation ( double rot ) : void
SetScale ( Vector2 sca ) : void
Translate ( Vector2 delta ) : void
UnloadResources ( ) : void
Update ( int elapsedMilliseconds ) : void

Update based on the objects logic. Override.

보호된 메소드들

메소드 설명
WorldObject ( String name ) : System

메소드 상세

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

Draw the object. Override.
public abstract Draw ( GameTime gameTime, SpriteBatch batch, Camera cam ) : void
gameTime Microsoft.Xna.Framework.GameTime
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
cam Camera
리턴 void

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

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

Rotate() 공개 메소드

public Rotate ( double delta ) : void
delta double
리턴 void

Scale() 공개 메소드

public Scale ( Vector2 Factor ) : void
Factor Vector2
리턴 void

SetPosition() 공개 메소드

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

SetRotation() 공개 메소드

public SetRotation ( double rot ) : void
rot double
리턴 void

SetScale() 공개 메소드

public SetScale ( Vector2 sca ) : void
sca Vector2
리턴 void

Translate() 공개 메소드

public Translate ( Vector2 delta ) : void
delta Vector2
리턴 void

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

public abstract UnloadResources ( ) : void
리턴 void

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

Update based on the objects logic. Override.
public abstract Update ( int elapsedMilliseconds ) : void
elapsedMilliseconds int
리턴 void

WorldObject() 보호된 메소드

protected WorldObject ( String name ) : System
name String
리턴 System