示例#1
0
 @Override
 public String getTexture() {
   IAction action = pipe.getAction(slot);
   if (action != null) return action.getTexture();
   else return "";
 }
示例#2
0
 @Override
 public boolean isDefined() {
   return pipe.getAction(slot) != null;
 }
示例#3
0
 public IAction getAction() {
   return pipe.getAction(slot);
 }
示例#4
0
 @Override
 public int getTextureIndex() {
   IAction action = pipe.getAction(slot);
   if (action != null) return action.getIndexInTexture();
   else return 0;
 }