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)); }
private void Awake() { Instance = this; }