Package com.misc
Class SaveControls.SavedFiretruck
- java.lang.Object
-
- com.misc.SaveControls.SavedFiretruck
-
- Enclosing class:
- SaveControls
public class SaveControls.SavedFiretruck extends java.lang.ObjectA 'barebones' Firetruck class to only store the properties needed to re-create the class
-
-
Field Summary
Fields Modifier and Type Field Description inthealthbooleanisBoughtConstants.CarparkEntrancesrespawnLocationConstants.TruckTypetypeintwaterfloatxfloaty
-
Constructor Summary
Constructors Constructor Description SavedFiretruck()SavedFiretruck(Constants.TruckType type, int health, int water, Constants.CarparkEntrances respawnLocation, float x, float y, boolean isBought)
-
-
-
Field Detail
-
type
public Constants.TruckType type
-
health
public int health
-
water
public int water
-
respawnLocation
public Constants.CarparkEntrances respawnLocation
-
x
public float x
-
y
public float y
-
isBought
public boolean isBought
-
-
Constructor Detail
-
SavedFiretruck
public SavedFiretruck()
-
SavedFiretruck
public SavedFiretruck(Constants.TruckType type, int health, int water, Constants.CarparkEntrances respawnLocation, float x, float y, boolean isBought)
-
-