com.tootsville.game.items
Class SoccerBall

java.lang.Object
  extended by SpecificItem
      extended by com.tootsville.game.items.SoccerBall

public class SoccerBall
extends SpecificItem

Author:
brpocock

Field Summary
private static double FRICTION_COEFFICIENT
          The rate at which the soccer ball decelerates when not acted upon by any other force.
private static long serialVersionUID
           
 
Constructor Summary
SoccerBall()
           
 
Method Summary
 void bump(WorldParticipant other, Coord3D deltaV)
           
 Set<AvatarDecoration> getAttachments()
           
 String getColouringModel()
          No colouring needed.
 void tick(int ticks)
          Surface friction takes its effect upon the ball's movement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FRICTION_COEFFICIENT

private static final double FRICTION_COEFFICIENT
The rate at which the soccer ball decelerates when not acted upon by any other force.

See Also:
Constant Field Values

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

SoccerBall

public SoccerBall()
Method Detail

bump

public void bump(WorldParticipant other,
                 Coord3D deltaV)
See Also:
org.starhope.appius.game.SpecificItem#bump(org.starhope.appius.game.WorldParticipant, org.starhope.appius.types.Coord3D)

getAttachments

public Set<AvatarDecoration> getAttachments()
Returns:
any attachments (none, for this case)

getColouringModel

public String getColouringModel()
No colouring needed.

See Also:
org.starhope.appius.game.SpecificItem#getColouringModel()

tick

public void tick(int ticks)
Surface friction takes its effect upon the ball's movement.

See Also:
org.starhope.appius.game.SpecificItem#tick(int)