Skip to content
Snippets Groups Projects

made Waitforhost classes and changed desktoplauncher so it should work

Merged Marcus Christopher Wildish requested to merge WaitForHost into main
4 files
+ 162
0
Compare changes
  • Side-by-side
  • Inline
Files
4
package com.wordbattle.game.controller;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.wordbattle.game.states.WaitForHostState;
import com.wordbattle.game.view.WaitForHostView;
public class WaitForHostController {
WaitForHostState state;
WaitForHostView view;
public WaitForHostController(WaitForHostState state){
this.state=state;
view= new WaitForHostView(state.getCam());
}
private void handleInput(){
}
public void update(float dt){
handleInput();
}
public void render(SpriteBatch spriteBatch){
view.render(spriteBatch);
}
public void dispose(){
}
}
Loading