zombie.ai.states
Class SwipeStatePlayer

java.lang.Object
  extended by zombie.ai.State
      extended by zombie.ai.states.SwipeStatePlayer

public class SwipeStatePlayer
extends State

Author:
LEMMY

Nested Class Summary
 class SwipeStatePlayer.CustomComparator
           
 
Constructor Summary
SwipeStatePlayer()
           
 
Method Summary
 void changeWeapon(HandWeapon weapon, IsoGameCharacter owner)
           
 void enter(IsoGameCharacter owner)
           
 void execute(IsoGameCharacter owner)
           
static SwipeStatePlayer instance()
           
 void WeaponLowerCondition(HandWeapon weapon, IsoGameCharacter owner)
           
 
Methods inherited from class zombie.ai.State
exit
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwipeStatePlayer

public SwipeStatePlayer()
Method Detail

instance

public static SwipeStatePlayer instance()

WeaponLowerCondition

public void WeaponLowerCondition(HandWeapon weapon,
                                 IsoGameCharacter owner)

enter

public void enter(IsoGameCharacter owner)
Overrides:
enter in class State

execute

public void execute(IsoGameCharacter owner)
Overrides:
execute in class State

changeWeapon

public void changeWeapon(HandWeapon weapon,
                         IsoGameCharacter owner)