|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Sprite | |
|---|---|
| com.brackeen.javagamebook.sound | |
| se.liu.student.kimgr905.tilegame | |
| se.liu.student.kimgr905.tilegame.sprites | |
| Uses of Sprite in com.brackeen.javagamebook.sound |
|---|
| Fields in com.brackeen.javagamebook.sound declared as Sprite | |
|---|---|
private Sprite |
Filter3d.listener
|
private Sprite |
Filter3d.source
|
| Constructors in com.brackeen.javagamebook.sound with parameters of type Sprite | |
|---|---|
Filter3d(Sprite source,
Sprite listener,
int maxDistance)
Creates a new Filter3d object with the specified source and listener Sprites. |
|
| Uses of Sprite in se.liu.student.kimgr905.tilegame |
|---|
| Fields in se.liu.student.kimgr905.tilegame declared as Sprite | |
|---|---|
private Sprite |
TileGameResourceManager.biglazerSprite
|
private Sprite |
TileMap.boss
|
private Sprite |
TileGameResourceManager.boss1Sprite
|
private Sprite |
TileGameResourceManager.bossAimedSprite
|
private Sprite |
TileGameResourceManager.bossCannonSprite
|
private Sprite |
TileGameResourceManager.bossLazerSprite
|
private Sprite |
TileGameResourceManager.droneSprite
|
private Sprite |
TileGameResourceManager.dualShotSprite
|
private Sprite |
TileGameResourceManager.minilazerSprite
|
private Sprite |
TileMap.player
|
private Sprite |
TileGameResourceManager.playerShotSprite
|
private Sprite |
TileGameResourceManager.playerSprite
|
private Sprite |
TileGameResourceManager.shieldSprite
|
private Sprite |
TileGameResourceManager.weaponSprite
|
| Fields in se.liu.student.kimgr905.tilegame with type parameters of type Sprite | |
|---|---|
private java.util.LinkedList<Sprite> |
TileMap.sprites
|
| Methods in se.liu.student.kimgr905.tilegame that return Sprite | |
|---|---|
private Sprite |
GameManager.checkPlayerCollision(Player player)
Checks if the player collidies with any sprites, and returns the colliding sprite (if any collision). |
Sprite |
TileMap.getBoss()
Gets the boss from the TileMap (as a Sprite object). |
Sprite |
TileMap.getPlayer()
Gets the player from the TileMap (as a Sprite object). |
private Sprite |
GameManager.getSpriteCollision(Sprite sprite)
Checks for sprite collison with the sprite given as argument and returns the collding sprite (if it collided), if no collision was found null is returned. |
| Methods in se.liu.student.kimgr905.tilegame that return types with arguments of type Sprite | |
|---|---|
java.util.Iterator<Sprite> |
TileMap.getSprites()
Gets a iterator for the LinkedList. |
| Methods in se.liu.student.kimgr905.tilegame with parameters of type Sprite | |
|---|---|
void |
TileMap.addSprite(Sprite sprite)
Adds a Sprite to the LinkedList. |
private static void |
TileGameResourceManager.addSprite(TileMap map,
Sprite hostSprite,
int tileX,
int tileY)
Adds and centers a sprite on the TileMap. |
private Sprite |
GameManager.getSpriteCollision(Sprite sprite)
Checks for sprite collison with the sprite given as argument and returns the collding sprite (if it collided), if no collision was found null is returned. |
private static boolean |
GameManager.isCollision(Sprite s1,
Sprite s2)
Checks if two sprites collide with each other. |
void |
TileMap.removeSprite(Sprite sprite)
Removes a Sprite from the LinkedList. |
void |
TileMap.setBoss(Sprite boss)
Sets the boss on the TileMap (as a Sprite object). |
void |
TileMap.setPlayer(Sprite player)
Sets the player on the TileMap (as a Sprite object). |
| Uses of Sprite in se.liu.student.kimgr905.tilegame.sprites |
|---|
| Subclasses of Sprite in se.liu.student.kimgr905.tilegame.sprites | |
|---|---|
class |
Biglazer
Biglazer is a enemy ship that follows the player on the x-axis. |
class |
Boss
Boss is a abstract class with static subclasses for all the different bosses in the game. |
static class |
Boss.Boss1
Boss1 Follows the player on the x-axis and also moves up and down. |
class |
Drone
Drone is a simple "zombie" enemy ship that will just move down on the y-axis. |
class |
Minilazer
Minilazer is a ship that follows a certain path. |
class |
Player
The Player |
class |
PowerUp
A PowerUp class is a Sprite that the player can pick up. |
static class |
PowerUp.Shield
A Shield PowerUp. |
static class |
PowerUp.Weapon
A Weapon PowerUp. |
class |
Ship
A Ship is a Sprite that has three Animations and a certain amount of hitpoints. |
class |
Shot
A shot is a Sprite that has one Animation. |
static class |
Shot.AimedShot
A AimedShot is a shot with one animation. |
static class |
Shot.BossCannon
A BossCannon is a shot with one animation. |
static class |
Shot.BossLazer
A BossLazer is a shot with one Animation. |
static class |
Shot.DualShot
DualShot is a shot with one animation. |
static class |
Shot.PlayerShot
The Player's shots, has one animation. |
| Methods in se.liu.student.kimgr905.tilegame.sprites with parameters of type Sprite | |
|---|---|
int |
Player.playerKnockbackHorizontal(Sprite collisionSprite)
Returns how much the player gets knocked back at a collision, on the x-axis. |
int |
Player.playerKnockbackVertical(Sprite collisionSprite)
Returns how much the player gets knocked back at a collision, on the y-axis. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||