Add TODOs to the code for later.
This commit is contained in:
parent
fa7d87bc6e
commit
232411913d
|
@ -4,6 +4,7 @@ package de.teamteamteam.spacescooter.entity;
|
|||
* A very simple image slideshow animation.
|
||||
* Given a list of images and an interval, it does a (fast) slideshow
|
||||
* through all the images, changing them after <interval> ticks.
|
||||
* TODO: Implement an AnimationType that allows looping! Maybe separate Entities into Drawable and Updateable?
|
||||
*/
|
||||
public class Animation extends Entity {
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package de.teamteamteam.spacescooter.entity;
|
||||
|
||||
/**
|
||||
* TODO: Rename and merge with other classes containing single static information.
|
||||
* Static Values for the Player and the Shop
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package de.teamteamteam.spacescooter.gui;
|
||||
|
||||
/**
|
||||
* TODO: Intelligently merge this with Score class.
|
||||
* Static class accounting the credits a player earned during the game.
|
||||
*/
|
||||
public class Credits {
|
||||
|
|
|
@ -7,6 +7,7 @@ import de.teamteamteam.spacescooter.entity.Entity;;
|
|||
|
||||
public class InterfaceBar extends Entity {
|
||||
|
||||
//TODO: Use GameConfig constants for this!
|
||||
private int width = 800;
|
||||
private int height = 50;
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ import de.teamteamteam.spacescooter.screen.GameScreen;
|
|||
|
||||
public class ShieldBar extends Entity {
|
||||
|
||||
//TODO: Make this depends on GameConfig constants
|
||||
private int width = 150;
|
||||
private int height = 14;
|
||||
private int shield = 0;
|
||||
|
|
|
@ -2,6 +2,7 @@ package de.teamteamteam.spacescooter.gui;
|
|||
|
||||
import de.teamteamteam.spacescooter.entity.Entity;
|
||||
|
||||
//TODO: Create an ImageEntity to do this.
|
||||
public class ShopOfferValue extends Entity{
|
||||
|
||||
public ShopOfferValue(int x, int y, String filename) {
|
||||
|
|
|
@ -151,6 +151,7 @@ public class SoundSystem {
|
|||
|
||||
/**
|
||||
* Play a sound by passing a relative path to this method.
|
||||
* TODO: Provide a method to stop existing sounds (aka BackgroundMusic!)
|
||||
*/
|
||||
public static void playSound(String filename) {
|
||||
SoundSystem.playFromAudioInputStream(Loader.getSoundURLByFilename(filename));
|
||||
|
|
Loading…
Reference in New Issue