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:
parent
448fca2fdf
commit
4e7722fedb
34 changed files with 597 additions and 95 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue