|
|||||||||
上一个 下一个 | 框架 无框架 |
hsgame 中 Action 的使用 |
---|
返回 Action 的 hsgame 中的方法 | |
---|---|
Action |
FrameFlagCheckedEventArgs.getAction()
|
Action |
AnimationProjectAddin.getAction(int animationId,
int actionId)
获取动画。 |
Action |
FrameFlagCheckedEventArgs.getFrameFlagCheckedAction()
|
参数类型为 Action 的 hsgame 中的方法 | |
---|---|
void |
Control.addFrameFlagChecked(Action action,
short frameFlag,
java.lang.String frameFlagCheckedEventHandlerMethod)
添加帧标记监测事件。 |
void |
Control.addUIAction(Action action,
int x,
int y)
动画添加到控件上。 |
void |
Control.addUIAction(Action action,
int x,
int y,
boolean clip)
|
void |
Control.addUIAction(Action action,
int x,
int y,
int scaleX,
int scaleY)
|
void |
Control.addUIAction(Action action,
int x,
int y,
int scaleX,
int scaleY,
boolean flipX)
|
void |
Control.addUIAction(Action action,
int x,
int y,
int scaleX,
int scaleY,
boolean clip,
boolean flipX)
|
void |
Control.playAction(Action action,
int loopCount,
int x,
int y,
int scaleX,
int scaleY,
boolean clip,
boolean flipX,
java.lang.String loopPlayOveredMethod)
播放帧动画,完成后消失。 |
void |
Control.removeUIAction(Action action)
|
void |
Control.replaceUIActionMLG(Action action,
int oldMLGID,
int newMLGID)
替换MLG。 |
void |
Control.setTheme(byte state,
Action action)
设置皮肤(0~6),自定义皮肤(7~max) |
void |
Control.setUIActionLoopCount(Action action,
int loopCount,
boolean removeWhenPlayOvered,
java.lang.String oneLoopPlayOveredMethod)
设置Action播放次数。 |
|
|||||||||
上一个 下一个 | 框架 无框架 |