コード例 #1
0
        public BackgroundManager(GameObjectController gocSet)
        {
            goc     = gocSet;
            texture = goc.GetTexture("BG0");

            dim = new Vector2(texture.Width, texture.Height);
        }
コード例 #2
0
ファイル: GameObject.cs プロジェクト: Gr8-m8/Tenta_Spel
        public GameObject(GameObjectController gocSet, string spriteKeySet, Vector2 startPos)
        {
            goc = gocSet;

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

            T = this.GetType();
            goc.gos.Add(this);
        }
コード例 #3
0
ファイル: UIManager.cs プロジェクト: Gr8-m8/Tenta_Spel
 public UIManager(GameObjectController gocSet)
 {
     goc   = gocSet;
     block = goc.GetTexture("");
 }