private void mooving_shooting(String[] parts) { // send server msg to the ai ServerMessageArgs serverMessageArgs = new ServerMessageArgs(); serverMessageArgs.msg = parts[0]; Console.WriteLine(parts[0]); newMessage(this, serverMessageArgs); }
// accepting the server messages public void new_sever_msg(Object sender, ServerMessageArgs e) { this.server_msg = e.msg; }
private void mooving_shooting(String[] parts) { // send server msg to the ai ServerMessageArgs serverMessageArgs = new ServerMessageArgs(); serverMessageArgs.msg = parts[0]; Console.WriteLine(parts[0]); newMessage(this, serverMessageArgs); }
// accepting the server messages public void new_sever_msg(Object sender, ServerMessageArgs e) { this.server_msg = e.msg; }