Skip to content
Snippets Groups Projects

0b code skeleton

Merged Stefano Grisendi requested to merge 0b-code-skeleton into master
25 files
+ 557
62
Compare changes
  • Side-by-side
  • Inline
Files
25
@@ -2,6 +2,7 @@ package com.mygdx.game.controllers.commands;
@@ -2,6 +2,7 @@ package com.mygdx.game.controllers.commands;
import com.esotericsoftware.kryonet.Connection;
import com.esotericsoftware.kryonet.Connection;
import com.mygdx.game.controllers.NetworkController;
import com.mygdx.game.controllers.NetworkController;
 
import com.mygdx.game.controllers.PlayerController;
public class Command{
public class Command{
@@ -18,7 +19,7 @@ public class Command{
@@ -18,7 +19,7 @@ public class Command{
this.data = "None";
this.data = "None";
}
}
public void execute(NetworkController net, Connection connection){}
public void execute(PlayerController playerController, Connection connection){}
public String getText(){ return text; }
public String getText(){ return text; }
Loading