Example #1
0
        public PaintBomb(Shell shell, Point target)
        {
            this.scale = new Vector2(0.2f, 0.2f);
            this.speed = 4f;

            this.location = new Vector2(shell.GetDrawRectangle().Center.X, shell.GetDrawRectangle().Center.Y);
            this.z = shell.z - 0.001f;
            this.color = shell.color;

            this.target = new Vector2(target.X, target.Y);
        }