Add TODOs to the code for later.

This commit is contained in:
Jan Philipp Timme 2014-11-28 16:48:15 +01:00
parent fa7d87bc6e
commit 232411913d
7 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,7 @@ package de.teamteamteam.spacescooter.entity;
* A very simple image slideshow animation. * A very simple image slideshow animation.
* Given a list of images and an interval, it does a (fast) slideshow * Given a list of images and an interval, it does a (fast) slideshow
* through all the images, changing them after <interval> ticks. * 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 { public class Animation extends Entity {

View File

@ -1,6 +1,7 @@
package de.teamteamteam.spacescooter.entity; package de.teamteamteam.spacescooter.entity;
/** /**
* TODO: Rename and merge with other classes containing single static information.
* Static Values for the Player and the Shop * Static Values for the Player and the Shop
* *
*/ */

View File

@ -1,6 +1,7 @@
package de.teamteamteam.spacescooter.gui; package de.teamteamteam.spacescooter.gui;
/** /**
* TODO: Intelligently merge this with Score class.
* Static class accounting the credits a player earned during the game. * Static class accounting the credits a player earned during the game.
*/ */
public class Credits { public class Credits {

View File

@ -7,6 +7,7 @@ import de.teamteamteam.spacescooter.entity.Entity;;
public class InterfaceBar extends Entity { public class InterfaceBar extends Entity {
//TODO: Use GameConfig constants for this!
private int width = 800; private int width = 800;
private int height = 50; private int height = 50;

View File

@ -10,6 +10,7 @@ import de.teamteamteam.spacescooter.screen.GameScreen;
public class ShieldBar extends Entity { public class ShieldBar extends Entity {
//TODO: Make this depends on GameConfig constants
private int width = 150; private int width = 150;
private int height = 14; private int height = 14;
private int shield = 0; private int shield = 0;

View File

@ -2,6 +2,7 @@ package de.teamteamteam.spacescooter.gui;
import de.teamteamteam.spacescooter.entity.Entity; import de.teamteamteam.spacescooter.entity.Entity;
//TODO: Create an ImageEntity to do this.
public class ShopOfferValue extends Entity{ public class ShopOfferValue extends Entity{
public ShopOfferValue(int x, int y, String filename) { public ShopOfferValue(int x, int y, String filename) {

View File

@ -151,6 +151,7 @@ public class SoundSystem {
/** /**
* Play a sound by passing a relative path to this method. * 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) { public static void playSound(String filename) {
SoundSystem.playFromAudioInputStream(Loader.getSoundURLByFilename(filename)); SoundSystem.playFromAudioInputStream(Loader.getSoundURLByFilename(filename));