Package com.deco2800.game.files
Class Tuple
java.lang.Object
com.deco2800.game.files.Tuple
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
int
com.badlogic.gdx.math.Vector2
int
int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetCreationMethod
(String className) setHealth
(int health) setLevel
(int level) setPlayerState
(HashMap<String, Object> playerState) setPosition
(com.badlogic.gdx.math.Vector2 position) setRotation
(int rotation) setStructureLevel
(int level) setTexture
(String texture) setTileString
(String tileString)
-
Field Details
-
texture
-
position
public com.badlogic.gdx.math.Vector2 position -
name
-
level
public int level -
health
public int health -
playerState
-
tileString
-
creationMethod
-
structureLevel
public int structureLevel -
rotation
public int rotation
-
-
Constructor Details
-
Tuple
public Tuple()
-
-
Method Details
-
setTexture
-
setPosition
-
setName
-
setLevel
-
setHealth
-
setPlayerState
-
setTileString
-
setCreationMethod
-
setStructureLevel
-
setRotation
-