Esempio n. 1
0
 // TODO: Link this up with the UI.
 public void SelectTheme(Theme theme)
 {
     GameCache.LoadTileColor(theme.ToTileColor());
 }
Esempio n. 2
0
        private void Awake()
        {
            GameCache.CurrentGridSize = GridSetup.Five_By_Five;

            GameCache.LoadTileColor(new Entity.TileColorSet(Color.white, Color.black, Color.grey));
        }
Esempio n. 3
0
        public void UpdateTheme()
        {
            int themeIndex = scrollSnap.TargetPanel;

            GameCache.LoadTileColor(((Theme)themeIndex).ToTileColor());
        }