mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
Legger til enum Action og bytter navn på abstractions pakken
Bytter pakkenavn fra abstractions til element_properties
This commit is contained in:
parent
81553f67d9
commit
bec414e676
@ -0,0 +1,14 @@
|
||||
package inf112.fiasko.roborally.element_properties;
|
||||
|
||||
/**
|
||||
* This enum represents an action on a programming card
|
||||
*/
|
||||
public enum Action {
|
||||
ROTATE_RIGHT,
|
||||
ROTATE_LEFT,
|
||||
U_TURN,
|
||||
MOVE_1,
|
||||
MOVE_2,
|
||||
MOVE_3,
|
||||
BACK_UP
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package inf112.fiasko.roborally.abstractions;
|
||||
package inf112.fiasko.roborally.element_properties;
|
||||
|
||||
/**
|
||||
* This enum represents all possible directions for an element on the board
|
@ -1,4 +1,4 @@
|
||||
package inf112.fiasko.roborally.abstractions;
|
||||
package inf112.fiasko.roborally.element_properties;
|
||||
|
||||
/**
|
||||
* This enum represents a drawable texture
|
@ -1,4 +1,4 @@
|
||||
package inf112.fiasko.roborally.game;
|
||||
package inf112.fiasko.roborally.element_properties;
|
||||
|
||||
/**
|
||||
* This class represent a position on the board
|
@ -1,4 +1,4 @@
|
||||
package inf112.fiasko.roborally.abstractions;
|
||||
package inf112.fiasko.roborally.element_properties;
|
||||
|
||||
/**
|
||||
* This enum represents all possible tile types
|
@ -1,4 +1,4 @@
|
||||
package inf112.fiasko.roborally.abstractions;
|
||||
package inf112.fiasko.roborally.element_properties;
|
||||
|
||||
/**
|
||||
* This enum represents all possible wall types
|
@ -1,12 +1,12 @@
|
||||
package inf112.fiasko.roborally.objects;
|
||||
|
||||
import inf112.fiasko.roborally.abstractions.GameTexture;
|
||||
import inf112.fiasko.roborally.element_properties.GameTexture;
|
||||
|
||||
/**
|
||||
* This class represents an object that can be drawn using libgdx
|
||||
*/
|
||||
public class DrawableObject implements IDrawableObject {
|
||||
private GameTexture texture;
|
||||
private final GameTexture texture;
|
||||
private int xPos;
|
||||
private int yPos;
|
||||
private int width = 64;
|
||||
|
@ -1,6 +1,6 @@
|
||||
package inf112.fiasko.roborally.objects;
|
||||
|
||||
import inf112.fiasko.roborally.abstractions.GameTexture;
|
||||
import inf112.fiasko.roborally.element_properties.GameTexture;
|
||||
|
||||
/**
|
||||
* This interface describes an object drawable using libgdx
|
||||
|
@ -1,6 +1,6 @@
|
||||
package inf112.fiasko.roborally;
|
||||
|
||||
import inf112.fiasko.roborally.abstractions.Direction;
|
||||
import inf112.fiasko.roborally.element_properties.Direction;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
package inf112.fiasko.roborally;
|
||||
|
||||
import inf112.fiasko.roborally.objects.DrawableObject;
|
||||
import inf112.fiasko.roborally.abstractions.GameTexture;
|
||||
import inf112.fiasko.roborally.element_properties.GameTexture;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
package inf112.fiasko.roborally;
|
||||
|
||||
import inf112.fiasko.roborally.game.Position;
|
||||
import inf112.fiasko.roborally.element_properties.Position;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
package inf112.fiasko.roborally;
|
||||
|
||||
import inf112.fiasko.roborally.abstractions.TileType;
|
||||
import inf112.fiasko.roborally.element_properties.TileType;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
@ -1,7 +1,7 @@
|
||||
package inf112.fiasko.roborally;
|
||||
|
||||
import inf112.fiasko.roborally.abstractions.TileType;
|
||||
import inf112.fiasko.roborally.abstractions.WallType;
|
||||
import inf112.fiasko.roborally.element_properties.TileType;
|
||||
import inf112.fiasko.roborally.element_properties.WallType;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
Loading…
x
Reference in New Issue
Block a user