mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-06-28 04:04:42 +02:00
Fikser opp i moveConveyorBelts og fikser skille mellom raske og trege transportbånd
Bytter navn fra TransportBand til ConveyorBelt Bytter ut listContainsTile med en generisk predikattester
This commit is contained in:
@ -40,6 +40,6 @@ public class TileTest {
|
||||
|
||||
@Test (expected = IllegalArgumentException.class)
|
||||
public void invalidTileThrowsException() {
|
||||
new Tile(TileType.TRANSPORT_BAND_FAST, Direction.NORTH_EAST);
|
||||
new Tile(TileType.CONVEYOR_BELT_FAST, Direction.NORTH_EAST);
|
||||
}
|
||||
}
|
@ -26,7 +26,7 @@ public class TextureConverterUtilTest {
|
||||
public void setUp() {
|
||||
tileNorth = new Tile(TileType.TILE, Direction.NORTH);
|
||||
holeNorth = new Tile(TileType.HOLE, Direction.NORTH);
|
||||
transportBandSlowEast = new Tile(TileType.TRANSPORT_BAND_SLOW, Direction.EAST);
|
||||
transportBandSlowEast = new Tile(TileType.CONVEYOR_BELT_SLOW, Direction.EAST);
|
||||
tileTextureRegion = TextureConverterUtil.convertElement(tileNorth);
|
||||
holeTextureRegion = TextureConverterUtil.convertElement(holeNorth);
|
||||
transportBandSlowEastTextureRegion = TextureConverterUtil.convertElement(transportBandSlowEast);
|
||||
|
Reference in New Issue
Block a user