Beispiel #1
0
 public PublishMenu(PublishMenu publishMenu)
     : base(publishMenu)
 {
     eButton = publishMenu.eButton;
     pButton = publishMenu.pButton;
     activeBook = new Book(publishMenu.activeBook);
     playerIndex = -1;
 }
Beispiel #2
0
        public Player(TextureManager textureManager, int playerID)
        {
            position = GetPosition(playerID);
            archive = new Archive(textureManager, position + offset, 0.6f, 2, 5);
            this.playerID = playerID;
            publishMenu = new PublishMenu(textureManager, position + offset, 0.75f, playerID);
            activeTab = archive;

            background = textureManager.playerBackground;
            doneTexture = textureManager.doneTexture;

            budget = 0;
        }