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