예제 #1
0
 public PublishMenu(PublishMenu publishMenu)
     : base(publishMenu)
 {
     eButton = publishMenu.eButton;
     pButton = publishMenu.pButton;
     activeBook = new Book(publishMenu.activeBook);
     playerIndex = -1;
 }
예제 #2
0
파일: Player.cs 프로젝트: Blinke/Planspelet
        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;
        }