using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartScreen
{
    class Entity
    {

        public struct structVector2
        {
            public float x;
            public float y;
        }

        public struct structVector3
        {
            public float x;
            public float y;
            public float z;
        }

        public struct structEntityAttribute
        {
            public string Name;
            public string Value;
        }


        public enum eEntityType
        {
            Marker = 10,
            Sprite = 20,
            Text = 30,
            Image = 40,
            Object = 50,
            Font = 60,
            Sound = 70,
            Music = 80
        }



        public eEntityType EntityType;

        public string Name;
        public string AGKid;

        public structVector3 Size;
        public structVector3 Position;
        public structVector3 Scale;
        public structVector3 Rotation;

        public string FileName;
        public string ImageName;

        public structEntityAttribute[]  EntityAttribute ;


        public Entity() {

            structVector3 v3;

            v3.x = 1;
            v3.y = 1;
            v3.z = 1;

            EntityAttribute = new structEntityAttribute[10];
            Size = v3;
            Position = v3;
            Scale = v3;
            Rotation.x = 0;
            Rotation.y = 0;
            Rotation.z = 0;

            Name = "New Entity";

        }


    }
}
