This is a big commit. Added mouse cursors and a load bar. Started whit the game. and many many other things

This commit is contained in:
Ziver Koc 2007-03-29 23:21:00 +00:00
parent 448fca2fdf
commit 4e7722fedb
34 changed files with 597 additions and 95 deletions

View file

@ -1,12 +1,14 @@
package ei.engine.sound;
import java.awt.Rectangle;
import ei.engine.math.Vector3f;
import ei.engine.scene.Entity;
/**
* A sound that can be played through OpenAL
*
* @author Kevin Glass
* @author Ziver Koc
*/
public class Sound extends Entity{
private static int soundId = 1;
@ -91,9 +93,14 @@ public class Sound extends Entity{
return velocity;
}
/**
* unimplamented method
*
/**
* Returns the bound of this class
*/
public void render() {}
public Rectangle getBound() {
return new Rectangle(
(int)getLocation().getX(),
(int)getLocation().getY(),
10, 10);
}
}