void Dispose() { arena = null; fighter = null; socket = null; client = null; buffer = null; reader = null; }
public FantasyFighterPlayer(AddEvent events, TcpClient client) { this.fighter = new FighterState(); this.socket = client; this.client = client.Client; this.events = events; reader = new MessageReader(); buffer = new byte[4096]; BeginReading(); }