using System;
using System.Collections.Generic;
using System.Text;
using HumanLikeBattleRobots.Logic;
using QuadEngine;

namespace HumanLikeBattleRobots.Graphic
{
    abstract class Sprite
    {
        private Vec2f position;
        protected Vec2f relativeCenterPosition;
        private int stage = 0;
        protected float angle = 0;

        protected IQuadTexture drawTexture;

        public int Stage { get { return stage; } }
        public Vec2f Position { set { position = value; } }
        public float Angle { set { angle = value; } }

        public Sprite(int stage)
        {
            this.stage = stage;
        }

        protected Vec2f DrawPosition { get { return this.position - GameManager.camera; } }
        protected Vec2f AxisPosition { get { return this.relativeCenterPosition; } }

        public abstract void Draw();
    }
}
