public SpellShieldNova(Character source, GameWorld gameWorld, int range) : base(source, gameWorld, range) { Image = Properties.Resources.SpellNova; DrawBehavior.IsCircle = true; MotionBehavior = new StationaryMotionBehavior(this, gameWorld); }
protected PowerUp(DecimalPoint location, GameWorld gameWorld) { Location = location; GameWorld = gameWorld; GameWorld.Collision += gameWorld_Collision; Inertia = new DecimalPoint(0, 0); MotionBehavior = new StationaryMotionBehavior(this, gameWorld); Paralax = Paralax.Middleground; DrawBehavior = new TopDownRotationDrawBehavior(this); IsPhysicalObject = false; }