//----------------------------------------------------------------------------- // Constructor //----------------------------------------------------------------------------- public UnitTool() { unit = null; drawAboveUnit = false; animationPlayer = new AnimationPlayer(); collisionBox = new Rectangle2I(-1, -1, 2, 2); toolType = UnitToolType.Visual; isEquipped = false; isPhysicsEnabled = true; imageVariantID = GameData.VARIANT_NONE; syncAnimationWithDirection = true; }
//----------------------------------------------------------------------------- // Constructor //----------------------------------------------------------------------------- public UnitTool() { unit = null; drawAboveUnit = false; animationPlayer = new AnimationPlayer(); collisionBox = new Rectangle2I(-1, -1, 2, 2); toolType = UnitToolType.Visual; isEquipped = false; isPhysicsEnabled = true; imageVariantID = GameData.VARIANT_NONE; syncAnimationWithDirection = true; }