components
Class GameSettings

java.lang.Object
  extended by components.GameSettings

public class GameSettings
extends Object

GameSettings is a mutable object that holds gamesettings

Specification Fields

Constructor Summary
GameSettings()
           
 
Method Summary
 int getFPS()
           
 Vect3 getGravity()
           
 double getMu()
           
 double getMu2()
           
 void setFPS(int fps)
           
 void setGravity(Vect3 gravity)
           
 void setMu(double mu)
           
 void setMu2(double mu2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameSettings

public GameSettings()
Method Detail

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