예제 #1
0
파일: SceneNode.cs 프로젝트: Ramos04/CIS580
        public SceneNode(string name, Vector2 position, float rotation, Vector2 scale)
        {
            Name     = name;
            Position = position;
            Rotation = rotation;
            Scale    = scale;

            Children = new SceneNodeCollection(this);
            Entities = new SceneEntityCollection();
        }
예제 #2
0
        public SceneNode(string name, Vector2 position, float rotation, Vector2 scale)
        {
            Name = name;
            Position = position;
            Rotation = rotation;
            Scale = scale;

            Children = new SceneNodeCollection(this);
            Entities = new SceneEntityCollection();
        }