Exemplo n.º 1
0
        // CONSTRUCTORS

        public TackObject()
        {
            gameObjectHash = CreateTackObjectHash();
            mName          = "New GameObject";
            mPosition      = new Vector2f();
            mScale         = new Vector2f();
            mRotation      = 0;

            TackObjectManager.AddTackObject(this);

            TackConsole.EngineLog(EngineLogType.Message, string.Format("Create new TackObject at position ({0}, {1}) with name '{2}' and hash '{3}'", mPosition.X, mPosition.Y, mName, gameObjectHash));
        }
Exemplo n.º 2
0
 public TackObjectManager()
 {
     ActiveInstance = this;
 }
Exemplo n.º 3
0
 public static TackObject[] Get()
 {
     return(TackObjectManager.GetAllTackObjects());
 }