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