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
|
@Override
|
||||||
public void updateMachine()
|
public void updateMachine()
|
||||||
|
{
|
||||||
|
if (ticks % 10 == 0)
|
||||||
{
|
{
|
||||||
int frontX = xCoord + getDirection().offsetX;
|
int frontX = xCoord + getDirection().offsetX;
|
||||||
int frontY = yCoord + getDirection().offsetY;
|
int frontY = yCoord + getDirection().offsetY;
|
||||||
@@ -42,6 +44,7 @@ public class TileConstructor extends TileMachine implements IInventory, ISidedIn
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getCompare()
|
public int getCompare()
|
||||||
|
|||||||
@@ -16,6 +16,8 @@ public class TileDestructor extends TileMachine
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updateMachine()
|
public void updateMachine()
|
||||||
|
{
|
||||||
|
if (ticks % 10 == 0)
|
||||||
{
|
{
|
||||||
int frontX = xCoord + getDirection().offsetX;
|
int frontX = xCoord + getDirection().offsetX;
|
||||||
int frontY = yCoord + getDirection().offsetY;
|
int frontY = yCoord + getDirection().offsetY;
|
||||||
@@ -38,4 +40,5 @@ public class TileDestructor extends TileMachine
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user