C# 클래스 Vtj.Gaming.GameObject

상속: IDisposable
파일 보기 프로젝트 열기: Ventajou/Space-Dinosaurs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AnimationSequences AnimationSequence>.Dictionary
CurrentAnimation string
CurrentFrame int
Delay int
Location Vtj.Gaming.Vector3D
Objects List
Scale float
Visible bool

보호된 프로퍼티들

프로퍼티 타입 설명
Started bool

공개 메소드들

메소드 설명
Clear ( ) : void
Collides ( GameObject target ) : bool
Compare ( GameObject x, GameObject y ) : int
Create ( ImageElement defaultImage, float handleX, float handleY ) : GameObject
Dispose ( ) : void
Draw ( System.Html.Media.Graphics.CanvasContext2D context ) : void
DrawObjects ( System.Html.Media.Graphics.CanvasContext2D context ) : void
GameObject ( ) : System
GetCurrentSprite ( ) : Sprite
Intersect ( float x, float y, float w, float h ) : bool
Remove ( GameObject gameObject ) : void
ResumeAnimation ( ) : void
SetSprite ( string animation, int index ) : void
StartAnimation ( string animation ) : void
StopAnimation ( ) : void
Update ( ) : void

메소드 상세

Clear() 공개 정적인 메소드

public static Clear ( ) : void
리턴 void

Collides() 공개 메소드

public Collides ( GameObject target ) : bool
target GameObject
리턴 bool

Compare() 공개 정적인 메소드

public static Compare ( GameObject x, GameObject y ) : int
x GameObject
y GameObject
리턴 int

Create() 공개 정적인 메소드

public static Create ( ImageElement defaultImage, float handleX, float handleY ) : GameObject
defaultImage System.Html.ImageElement
handleX float
handleY float
리턴 GameObject

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Draw() 공개 메소드

public Draw ( System.Html.Media.Graphics.CanvasContext2D context ) : void
context System.Html.Media.Graphics.CanvasContext2D
리턴 void

DrawObjects() 공개 정적인 메소드

public static DrawObjects ( System.Html.Media.Graphics.CanvasContext2D context ) : void
context System.Html.Media.Graphics.CanvasContext2D
리턴 void

GameObject() 공개 메소드

public GameObject ( ) : System
리턴 System

GetCurrentSprite() 공개 메소드

public GetCurrentSprite ( ) : Sprite
리턴 Sprite

Intersect() 공개 메소드

public Intersect ( float x, float y, float w, float h ) : bool
x float
y float
w float
h float
리턴 bool

Remove() 공개 정적인 메소드

public static Remove ( GameObject gameObject ) : void
gameObject GameObject
리턴 void

ResumeAnimation() 공개 메소드

public ResumeAnimation ( ) : void
리턴 void

SetSprite() 공개 메소드

public SetSprite ( string animation, int index ) : void
animation string
index int
리턴 void

StartAnimation() 공개 메소드

public StartAnimation ( string animation ) : void
animation string
리턴 void

StopAnimation() 공개 메소드

public StopAnimation ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

AnimationSequences 공개적으로 프로퍼티

public Dictionary AnimationSequences
리턴 AnimationSequence>.Dictionary

CurrentAnimation 공개적으로 프로퍼티

public string CurrentAnimation
리턴 string

CurrentFrame 공개적으로 프로퍼티

public int CurrentFrame
리턴 int

Delay 공개적으로 프로퍼티

public int Delay
리턴 int

Location 공개적으로 프로퍼티

public Vector3D,Vtj.Gaming Location
리턴 Vtj.Gaming.Vector3D

Objects 공개적으로 정적으로 프로퍼티

public static List Objects
리턴 List

Scale 공개적으로 프로퍼티

public float Scale
리턴 float

Started 보호되어 있는 프로퍼티

protected bool Started
리턴 bool

Visible 공개적으로 프로퍼티

public bool Visible
리턴 bool