ballwar.model.strategy
Class FrictionStrategy

java.lang.Object
  extended by ballwar.model.strategy.ANoOpStrategy
      extended by ballwar.model.strategy.FrictionStrategy
All Implemented Interfaces:
IUpdateStrategy

public class FrictionStrategy
extends ANoOpStrategy


Field Summary
private  Ball host
           
private  double lossRate
           
 
Fields inherited from interface ballwar.model.IUpdateStrategy
NullObject
 
Constructor Summary
FrictionStrategy()
           
 
Method Summary
 void updateState(Ball context)
          No-op
 
Methods inherited from class ballwar.model.strategy.ANoOpStrategy
init, kill, updateCollision
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host

private Ball host

lossRate

private double lossRate
Constructor Detail

FrictionStrategy

public FrictionStrategy()
Method Detail

updateState

public void updateState(Ball context)
Description copied from class: ANoOpStrategy
No-op

Specified by:
updateState in interface IUpdateStrategy
Overrides:
updateState in class ANoOpStrategy
Parameters:
context - The ball to update.