public GameClient() { InputHandler = new InputHandler(this); GameMode = null; bitsPerSecondTimer = new Stopwatch(); bitsPerSecondTimer.Restart(); bitsPerSecondList = new List<uint>(); lobby = new Lobby(this); bitsToAdd = 0; }
protected EntityBase() { HotkeyString = ""; Neutral = false; HasBeenViewed = false; Team = 0; Type = Entity.EntityType.Unit; BoundsSize = new Vector2f(20, 20); WorldId = 0; EntityToUse = null; WorldEntities = null; rallyPoints = new List<Entity.RallyPoint>(); Health = 0; MaxHealth = 0; Position = new Vector2f(); Energy = 0; MaxHealth = 0; EnergyRegenRate = 0; MyGameMode = null; }