simogl.model.building
Class MD2Farm

java.lang.Object
  extended by simogl.model.AbstractMD2Model
      extended by simogl.model.building.MD2Farm

public class MD2Farm
extends AbstractMD2Model

This class represents the md2 model for a farm

Author:
Frank Bruns

Field Summary
 
Fields inherited from class simogl.model.AbstractMD2Model
STAND, WALK
 
Constructor Summary
MD2Farm(float x, float y, float z)
          Creates a new farm md2 model at the specified location
 
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

MD2Farm

public MD2Farm(float x,
               float y,
               float z)
Creates a new farm md2 model at the specified location

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