wodka.ga.model
Class Mass

java.lang.Object
  extended bywodka.ga.model.Mass

public class Mass
extends java.lang.Object


Constructor Summary
Mass(Model model, int xPos, int yPos)
           
Mass(Model model, int xPos, int yPos, double xVelo, double yVelo)
           
Mass(Model model, java.lang.String identifier, int xPos, int yPos, double xVelo, double yVelo)
           
 
Method Summary
 java.lang.String getIdentifier()
           
 Model getModel()
           
 int getXPos()
           
 double getXVelo()
           
 int getYPos()
           
 double getYVelo()
           
 void setIdentifier(java.lang.String identifier)
           
 void setXPos(int val)
           
 void setXVelo(double xVelo)
           
 void setYPos(int val)
           
 void setYVelo(double yVelo)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Mass

public Mass(Model model,
            int xPos,
            int yPos,
            double xVelo,
            double yVelo)

Mass

public Mass(Model model,
            java.lang.String identifier,
            int xPos,
            int yPos,
            double xVelo,
            double yVelo)

Mass

public Mass(Model model,
            int xPos,
            int yPos)
Method Detail

getIdentifier

public java.lang.String getIdentifier()

getXPos

public int getXPos()

getYPos

public int getYPos()

toString

public java.lang.String toString()

setXPos

public void setXPos(int val)

setYPos

public void setYPos(int val)

getXVelo

public double getXVelo()
Returns:
Returns the vx.

setXVelo

public void setXVelo(double xVelo)
Parameters:
xVelo - The vx to set.

getYVelo

public double getYVelo()
Returns:
Returns the vy.

setYVelo

public void setYVelo(double yVelo)
Parameters:
yVelo - The vy to set.

getModel

public Model getModel()

setIdentifier

public void setIdentifier(java.lang.String identifier)