public PublishMenu(PublishMenu publishMenu) : base(publishMenu) { eButton = publishMenu.eButton; pButton = publishMenu.pButton; activeBook = new Book(publishMenu.activeBook); playerIndex = -1; }
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; }