コード例 #1
0
 @Override
 protected void startAction() {
   WallBlockType block = getAffectedBlock();
   blockEndurance = block.getEndurance();
   digEffect = new DigEffect(blockEndurance, affectedRectangle);
   renderQueue.add(digEffect);
 }
コード例 #2
0
 @Override
 protected void stopAction() {
   renderQueue.remove(digEffect);
   digEffect = null;
   blockEndurance = 0;
 }