components
Class GameSettings
java.lang.Object
components.GameSettings
public class GameSettings
- extends Object
GameSettings is a mutable object that holds gamesettings
- Specification Fields
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GameSettings
public GameSettings()
getFPS
public int getFPS()
- Returns:
- the frames per second
setFPS
public void setFPS(int fps)
- Parameters:
fps
- is the frames per second to set- Effects:
- sets the frames per second
getGravity
public Vect3 getGravity()
- Returns:
- the gravity
setGravity
public void setGravity(Vect3 gravity)
getMu
public double getMu()
- Returns:
- the mu
setMu
public void setMu(double mu)
- Parameters:
mu
- the mu to set
getMu2
public double getMu2()
- Returns:
- the mu2
setMu2
public void setMu2(double mu2)
- Parameters:
mu2
- the mu2 to set