Package com.mygdx.game.Logic.Squares
Class MoneySquare
java.lang.Object
com.mygdx.game.Logic.Squares.Square
com.mygdx.game.Logic.Squares.MoneySquare
- All Implemented Interfaces:
java.io.Serializable
public class MoneySquare extends Square
Square that implements the win/lose [AMOUNT] function
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MoneySquare(java.lang.String name, float money)
-
Method Summary
Modifier and Type Method Description void
runAction(GameInstance game)
To be run when thePlayer
lands on this squareMethods inherited from class com.mygdx.game.Logic.Squares.Square
getI, getJ, getName, setIJ, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait