Exemple #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));
        }
Exemple #2
0
 public TackObjectManager()
 {
     ActiveInstance = this;
 }
Exemple #3
0
 public static TackObject[] Get()
 {
     return(TackObjectManager.GetAllTackObjects());
 }