Example #1
0
 public MainWindow()
 {
     InitializeComponent();
     GameIcons = new IconCollection();
     if (GameToFile.isFileExist())
     {
         Resume();
     }
     else
     {
         StartNewGame();
     }
 }
 public static Icon Get(Type type)
 {
     return(IconCollection.Single(icon => icon.Type == type));
 }
Example #3
0
 private void Awake()
 {
     Instance = this;
 }