程序包 xworker.gswt
类 Actor
- java.lang.Object
-
- xworker.gswt.Actor
-
- 直接已知子类:
ImageActor,StringActor
public abstract class Actor extends Object
角色。- 作者:
- zyx
-
-
构造器概要
构造器 构造器 说明 Actor(org.xmeta.Thing thing, org.xmeta.ActionContext actionContext)
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 voidaddAction(Action action)<T> TgetActionData(org.xmeta.Thing action)voidputActionData(org.xmeta.Thing action, Object value)voidremoveAction(Action action)ObjectremoveActionData(org.xmeta.Thing action)abstract voidrender(SimpleGame game, org.eclipse.swt.events.PaintEvent event, org.xmeta.ActionContext actionContext)voidrun(SimpleGame game, org.eclipse.swt.events.PaintEvent event, org.xmeta.ActionContext actionContext)
-
-
-
方法详细资料
-
run
public void run(SimpleGame game, org.eclipse.swt.events.PaintEvent event, org.xmeta.ActionContext actionContext)
-
addAction
public void addAction(Action action)
-
removeAction
public void removeAction(Action action)
-
render
public abstract void render(SimpleGame game, org.eclipse.swt.events.PaintEvent event, org.xmeta.ActionContext actionContext)
-
getActionData
public <T> T getActionData(org.xmeta.Thing action)
-
removeActionData
public Object removeActionData(org.xmeta.Thing action)
-
putActionData
public void putActionData(org.xmeta.Thing action, Object value)
-
-