Exemple #1
0
 public PublishMenu(PublishMenu publishMenu)
     : base(publishMenu)
 {
     eButton = publishMenu.eButton;
     pButton = publishMenu.pButton;
     activeBook = new Book(publishMenu.activeBook);
     playerIndex = -1;
 }
Exemple #2
0
 public PublishMenu(TextureManager textureManager, Vector2 position, float scale, int playerIndex)
     : base(position, scale)
 {
     this.eButton = new Button(textureManager.eButtonTexture, position, new Vector2(180, 50));
     this.pButton = new Button(textureManager.pButtonTexture, position, new Vector2(80, 45));
     eBookTexture = textureManager.eBookTexture;
     this.playerIndex = playerIndex;
 }