simogl.model.character
Class MD2Civilian

java.lang.Object
  extended by simogl.model.AbstractMD2Model
      extended by simogl.model.character.MD2Civilian

public class MD2Civilian
extends AbstractMD2Model

This class represents the md2 model of a civilian

Author:
Frank Bruns

Field Summary
 
Fields inherited from class simogl.model.AbstractMD2Model
STAND, WALK
 
Constructor Summary
MD2Civilian(float x, float y, float z)
          Creates a new md2 model for a civilian at the specified loaction
 
Method Summary
 void update(long elapsedTime)
          Updates a md2 model
 
Methods inherited from class simogl.model.AbstractMD2Model
getCurrentAnim, getCurrentAnimState, setAnimationState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MD2Civilian

public MD2Civilian(float x,
                   float y,
                   float z)
Creates a new md2 model for a civilian at the specified loaction

Parameters:
x - x-coordinate
y - y-coordinate
z - z-coordinate
Method Detail

update

public void update(long elapsedTime)
Description copied from class: AbstractMD2Model
Updates a md2 model

Overrides:
update in class AbstractMD2Model
Parameters:
elapsedTime - time between two frames