Removed and added many TODOs

This commit is contained in:
Anuken
2018-01-09 18:02:37 -05:00
parent 9c48ab1128
commit c6dfe1775e
21 changed files with 14 additions and 89 deletions

View File

@@ -9,7 +9,7 @@ public class PressGroup{
private boolean active = true;
public void add(Button button){
//TODO make only one button in the group be clickable
//TODO make only one button in the group be clickable, add implementation
buttons.add(button);
}

View File

@@ -10,7 +10,7 @@ import io.anuke.ucore.util.Strings;
import java.io.IOException;
//TODO
//TODO add port specification
public class HostDialog extends Dialog{
float w = 300;

View File

@@ -46,7 +46,6 @@ public class SettingsMenuDialog extends SettingsDialog{
wasPaused = ((PausedDialog)menu).wasPaused;
}
if(!Net.active()) GameState.set(State.paused);
//TODO hide menu
Vars.ui.paused.hide();
}
});

View File

@@ -25,7 +25,6 @@ import io.anuke.ucore.scene.ui.layout.Unit;
import static io.anuke.ucore.core.Core.scene;
import static io.anuke.ucore.core.Core.skin;
//TODO show chat even when not toggled
public class ChatFragment extends Table implements Fragment{
private final static int messagesShown = 10;
private final static int maxLength = 150;
@@ -49,7 +48,7 @@ public class ChatFragment extends Table implements Fragment{
setVisible(() -> !GameState.is(State.menu) && Net.active());
//TODO put it input
//TODO put it in input?
update(() -> {
if(Net.active() && Inputs.keyTap("chat")){
toggle();
@@ -154,7 +153,7 @@ public class ChatFragment extends Table implements Fragment{
scene.setKeyboardFocus(null);
chatOpen = !chatOpen;
sendMessage();
fadetime = messagesShown + 1; //TODO?
fadetime = messagesShown + 1;
}
}