Removed "on" prefix from all remote methods

This commit is contained in:
Anuken
2020-07-03 18:48:31 -04:00
parent 7ff2e98420
commit 8576d535bd
22 changed files with 108 additions and 84 deletions

View File

@ -205,7 +205,7 @@ public class DesktopInput extends InputHandler{
if(Core.input.keyDown(Binding.control) && Core.input.keyTap(Binding.select)){
Unit on = selectedUnit();
if(on != null){
Call.onUnitControl(player, on);
Call.unitControl(player, on);
shouldShoot = false;
}
}
@ -215,7 +215,7 @@ public class DesktopInput extends InputHandler{
updateMovement(player.unit());
if(Core.input.keyDown(Binding.respawn) && !player.unit().spawnedByCore()){
Call.onUnitClear(player);
Call.unitClear(player);
controlledType = null;
}
}
@ -621,7 +621,7 @@ public class DesktopInput extends InputHandler{
if(unit instanceof Commanderc){
if(Core.input.keyTap(Binding.command)){
Call.onUnitCommand(player);
Call.unitCommand(player);
}
}
}