source: 2014/27/AnttiI/lisää nää.txt @ 5414

Revision 5414, 530 bytes checked in by nikranna, 5 years ago (diff)
Line 
1ColorTileMap ruudut = ColorTileMap.FromLevelAsset("kenttapaint");
2ruudut.SetTileMethod(Color.FromHexCode("267F00"), LisaaPelaaja);
3        ruudut.SetTileMethod(Color.FromHexCode("000000"), LisaaTaso);
4        ruudut.SetTileMethod(Color.FromHexCode("0026FF"), LisaaTahti);
5        ruudut.SetTileMethod(Color.FromHexCode("FF0000"), LuoVihu);
6        ruudut.SetTileMethod(Color.FromHexCode("FFD800"), LisaaAnsa);
7        ruudut.Execute(60, 50);
8
9 MediaPlayer.Play("elliot_berger");
10        MediaPlayer.IsRepeating = true;
Note: See TracBrowser for help on using the repository browser.