public BackgroundManager(GameObjectController gocSet)
        {
            goc     = gocSet;
            texture = goc.GetTexture("BG0");

            dim = new Vector2(texture.Width, texture.Height);
        }
Beispiel #2
0
        public GameObject(GameObjectController gocSet, string spriteKeySet, Vector2 startPos)
        {
            goc = gocSet;

            sprite = goc.GetTexture(spriteKeySet);
            pos    = startPos;

            T = this.GetType();
            goc.gos.Add(this);
        }
Beispiel #3
0
 public UIManager(GameObjectController gocSet)
 {
     goc   = gocSet;
     block = goc.GetTexture("");
 }