add a bit of delay on every constructor / destructor operation
This commit is contained in:
@@ -27,6 +27,8 @@ public class TileConstructor extends TileMachine implements IInventory, ISidedIn
|
||||
|
||||
@Override
|
||||
public void updateMachine()
|
||||
{
|
||||
if (ticks % 10 == 0)
|
||||
{
|
||||
int frontX = xCoord + getDirection().offsetX;
|
||||
int frontY = yCoord + getDirection().offsetY;
|
||||
@@ -42,6 +44,7 @@ public class TileConstructor extends TileMachine implements IInventory, ISidedIn
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getCompare()
|
||||
|
||||
@@ -16,6 +16,8 @@ public class TileDestructor extends TileMachine
|
||||
|
||||
@Override
|
||||
public void updateMachine()
|
||||
{
|
||||
if (ticks % 10 == 0)
|
||||
{
|
||||
int frontX = xCoord + getDirection().offsetX;
|
||||
int frontY = yCoord + getDirection().offsetY;
|
||||
@@ -39,3 +41,4 @@ public class TileDestructor extends TileMachine
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user