apoIcejump.ai
Class ApoIcejumpAIPlayer

java.lang.Object
  extended by apoIcejump.ai.ApoIcejumpAIEntity
      extended by apoIcejump.ai.ApoIcejumpAIEnemy
          extended by apoIcejump.ai.ApoIcejumpAIPlayer

public class ApoIcejumpAIPlayer
extends ApoIcejumpAIEnemy

Klasse, die euren Spieler repräsentiert
class for your player

Author:
Dirk Aporius

Constructor Summary
ApoIcejumpAIPlayer(apoIcejump.entity.ApoIcejumpPlayer entity)
           
 
Method Summary
 void setVecX(float vecX)
          setzt die neue Geschwindigkeit auf den übergebenen Wert
er muss aber zwischen -ApoIcejumpConstants.PLAYER_MAX_VEC_X (maximale Geschwindigkeit nach links pro ms)
und ApoIcejumpConstants.PLAYER_MAX_VEC_X (maximale Geschwindigkeit nach rechts pro ms) liegen
set the new speed in x-direction
the value has to be between -ApoIcejumpConstants.PLAYER_MAX_VEC_X (max speed left per ms)
and ApoIcejumpConstants.PLAYER_MAX_VEC_X (max speed right per ms)
 
Methods inherited from class apoIcejump.ai.ApoIcejumpAIEnemy
getFastTimeLeft, getFireTime, getHighJumpLeft, getSlowTimeLeft, isFaster, isFire, isSlow
 
Methods inherited from class apoIcejump.ai.ApoIcejumpAIEntity
getHeight, getVecX, getVecY, getWidth, getX, getY, intersects, intersects
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApoIcejumpAIPlayer

public ApoIcejumpAIPlayer(apoIcejump.entity.ApoIcejumpPlayer entity)
Method Detail

setVecX

public void setVecX(float vecX)
setzt die neue Geschwindigkeit auf den übergebenen Wert
er muss aber zwischen -ApoIcejumpConstants.PLAYER_MAX_VEC_X (maximale Geschwindigkeit nach links pro ms)
und ApoIcejumpConstants.PLAYER_MAX_VEC_X (maximale Geschwindigkeit nach rechts pro ms) liegen
set the new speed in x-direction
the value has to be between -ApoIcejumpConstants.PLAYER_MAX_VEC_X (max speed left per ms)
and ApoIcejumpConstants.PLAYER_MAX_VEC_X (max speed right per ms)

Parameters:
vecX -