C# 클래스 Artemis.Engine.UpdatableObject

상속: Artemis.Engine.Utilities.Partial.PartialEngineAdapter
파일 보기 프로젝트 열기: ArtemisEngine/Artemis-Engine 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DisallowMultipleUpdates bool

공개 메소드들

메소드 설명
AddUpdater ( Updater updater ) : void

Add an updater to this object.

AuxiliaryUpdate ( ) : void
ClearUpdater ( ) : void

Remove all updaters from this object.

Kill ( ) : void
Pause ( ) : void

Pause automatic updating. This will only have an effect if ManuallyUpdate is false, in which case the engine automatically updates the object. Regardless of whether or not automatic updating is paused, directly calling "Update" will still update the object.

RemoveUpdater ( Updater updater ) : void

Remove an updater from this object.

SetUpdater ( Updater updater ) : void

Set the updater for this object.

UnPause ( ) : void

Resume automatic updating.

Update ( ) : void

비공개 메소드들

메소드 설명
InternalUpdate ( ) : void

This is the update method for everything that must be updated every frame regardless of the values of IsPaused or ManuallyUpdate. InternalUpdate is always called by the engine once per game tick, unless the user manually calls "Update". For example, TimeableObject uses InternalUpdate to update it's internal lifetime. This can only be called once every game tick and MUST be called.

UpdatableObject ( ) : Artemis.Engine.Utilities

메소드 상세

AddUpdater() 공개 메소드

Add an updater to this object.
public AddUpdater ( Updater updater ) : void
updater Updater
리턴 void

AuxiliaryUpdate() 공개 메소드

public AuxiliaryUpdate ( ) : void
리턴 void

ClearUpdater() 공개 메소드

Remove all updaters from this object.
public ClearUpdater ( ) : void
리턴 void

Kill() 공개 메소드

public Kill ( ) : void
리턴 void

Pause() 공개 메소드

Pause automatic updating. This will only have an effect if ManuallyUpdate is false, in which case the engine automatically updates the object. Regardless of whether or not automatic updating is paused, directly calling "Update" will still update the object.
public Pause ( ) : void
리턴 void

RemoveUpdater() 공개 메소드

Remove an updater from this object.
public RemoveUpdater ( Updater updater ) : void
updater Updater
리턴 void

SetUpdater() 공개 메소드

Set the updater for this object.
public SetUpdater ( Updater updater ) : void
updater Updater
리턴 void

UnPause() 공개 메소드

Resume automatic updating.
public UnPause ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

DisallowMultipleUpdates 공개적으로 프로퍼티

Whether or not "Update" can be called multiple times in a single game tick.
public bool DisallowMultipleUpdates
리턴 bool