程序包 xworker.gswt

类 Actor

    • 字段详细资料

      • x

        public int x
      • y

        public int y
      • orignX

        public int orignX
      • orignY

        public int orignY
      • thing

        public org.xmeta.Thing thing
      • visible

        public boolean visible
    • 构造器详细资料

      • Actor

        public Actor​(org.xmeta.Thing thing,
                     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)