gizmoball.gui
Class Properties

java.lang.Object
  extended by gizmoball.gui.Properties

public class Properties
extends java.lang.Object

Properties class holds information about a GameObject's editable features.


Method Summary
 void apply(GamePlayModel gpm, GameObject go)
          Applies this to specified GameObject.
 Properties clone()
           
 Vect3 getPosition()
           
 Vect3 getVelocity()
           
 void setAngle(double angle)
           
 void setAxis(Vect3 axis)
           
 void setCoefficient(double coeff)
           
 void setColor(java.awt.Color color)
           
 void setPosition(Vect3 position)
           
 void setTexture(java.lang.String texture)
           
 void setVelocity(Vect3 velocity)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

clone

public Properties clone()
Overrides:
clone in class java.lang.Object
Returns:
Copy of this.

getPosition

public Vect3 getPosition()
Returns:
position

getVelocity

public Vect3 getVelocity()
Returns:
velocity

setPosition

public void setPosition(Vect3 position)
Parameters:
position -

setVelocity

public void setVelocity(Vect3 velocity)
Parameters:
velocity -

setTexture

public void setTexture(java.lang.String texture)
Parameters:
texture -

setColor

public void setColor(java.awt.Color color)
Parameters:
color -

setCoefficient

public void setCoefficient(double coeff)
Parameters:
coeff -

setAxis

public void setAxis(Vect3 axis)
Parameters:
axis -

setAngle

public void setAngle(double angle)
Parameters:
angle -

apply

public void apply(GamePlayModel gpm,
                  GameObject go)
Applies this to specified GameObject.

Parameters:
gpm -
go -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
String representation of this