Removed and added many TODOs
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user