kikisaints_little_might/src/Modules/WorldObject.cs
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Little_Might.Modules
{
    internal class WorldObject
    {
        private Texture2D _sprite;
        private Vector2 _position;
        private Color _color;
        private bool _fireAffected;
        private int _drawLayer = 0;

        public int DrawLayer
        {
            get { return _drawLayer; }
            set { _drawLayer = value; }
        }

        public bool FireAffected
        {
            get { return _fireAffected; }
            set { _fireAffected = value; }
        }

        public Color ObjectColor
        {
            get { return _color; }
            set { _color = value; }
        }

        public Texture2D Sprite
        {
            get { return _sprite; }
            set { _sprite = value; }
        }

        public Vector2 Position
        {
            get { return _position; }
            set { _position = value; }
        }

        public WorldObject()
        { }

        public WorldObject(Texture2D sprite, Vector2 position, Color color, int layer = 0)
        {
            _sprite = sprite;
            _position = position;
            _color = color;
            _drawLayer = layer;

            _fireAffected = false;
        }
    }
}
