コード例 #1
0
 public void InitializeStartup()
 {
     PlayButton       = new CircleButton(300, new Vector2(140, 70), "Menu\\Startup\\playButtonNew");
     OptionsButton    = new CircleButton(200, new Vector2(25, 380), "Menu\\Startup\\optionsButtonNew");
     HighScoresButton = new CircleButton(300, new Vector2(460, 70), "Menu\\Startup\\highScoresButtonNew");
     ExitGameButton   = new CircleButton(200, new Vector2(675, 380), "Menu\\Startup\\exitButtonNew");
     Logo             = new Sprite(new Vector2(275, 325), "Menu\\Startup\\GameIcon3");
 }
コード例 #2
0
ファイル: Menu.cs プロジェクト: sarangjo/IonoWumpus
 public void InitializeStartup()
 {
     PlayButton = new CircleButton(300, new Vector2(140, 70), "Menu\\Startup\\playButtonNew");
     OptionsButton = new CircleButton(200, new Vector2(25, 380), "Menu\\Startup\\optionsButtonNew");
     HighScoresButton = new CircleButton(300, new Vector2(460, 70), "Menu\\Startup\\highScoresButtonNew");
     ExitGameButton = new CircleButton(200, new Vector2(675, 380), "Menu\\Startup\\exitButtonNew");
     Logo = new Sprite(new Vector2(275, 325), "Menu\\Startup\\GameIcon3");
 }