package ru.alastar.main.net.requests; public class InputRequest { public int x, y; /* * ConnectedClient c = Server.getClient(ctx); // Server.Log("Input from " + * c.accountId); Vector2 vec = new Vector2(m.readInt(),m.readInt()); * * if(vec.x > 1) vec.x = 1; if(vec.x < -1) vec.x = -1; if(vec.y > 1) vec.y = * 1; if(vec.y < -1) vec.y = -1; * * Server.handleMove(vec, c.player); } */ }