test.dotychase
Class Block

java.lang.Object
  extended by test.dotychase.Block

public class Block
extends java.lang.Object

A Block prevents the player from moving.


Constructor Summary
Block(float x, float y, float z, float scale, java.lang.String desc)
           
Block(float x, float y, float z, java.lang.String desc)
          Constructor for objects of class Block
 
Method Summary
 void disappear()
          Make the block disappear
 java.lang.String getDesc()
          Accessor for the block's description
 float getScale()
          Accessor for the block's size
 float getX()
          Accessor for the block's location
 float getY()
          Accessor for the block's location
 float getZ()
          Accessor for the block's location
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Block

public Block(float x,
             float y,
             float z,
             java.lang.String desc)
Constructor for objects of class Block


Block

public Block(float x,
             float y,
             float z,
             float scale,
             java.lang.String desc)
Method Detail

disappear

public void disappear()
Make the block disappear


getDesc

public java.lang.String getDesc()
Accessor for the block's description


getX

public float getX()
Accessor for the block's location


getY

public float getY()
Accessor for the block's location


getZ

public float getZ()
Accessor for the block's location


getScale

public float getScale()
Accessor for the block's size