Changeset 5970 for 2015/24/ohjaajat/Dungeon/Dungeon/Dungeon
- Timestamp:
- 2015-06-09 22:05:09 (8 years ago)
- Location:
- 2015/24/ohjaajat/Dungeon/Dungeon/Dungeon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/24/ohjaajat/Dungeon/Dungeon/Dungeon/Dungeon.cs
r5969 r5970 61 61 static Image kulttuuriKuva3 = LoadImage("spurdo"); 62 62 Image[] huoneKuvat = new Image[] { kulttuuriKuva1, kulttuuriKuva2, kulttuuriKuva3 }; 63 #endregion 63 Image[] vihuKuvat = LoadImages((from i in Enumerable.Range(1, 10) select String.Format("v{0:0000}", i)).ToArray()); 64 #endregion 64 65 65 66 int[] hinnat = new int[] { 100, 200, 300 }; … … 151 152 void LuoBarbaareja() 152 153 { 153 PhysicsObject barbaari = new PhysicsObject(RUUDUN_KOKO * 0. 3, RUUDUN_KOKO * 0.3);154 PhysicsObject barbaari = new PhysicsObject(RUUDUN_KOKO * 0.4, RUUDUN_KOKO * 0.4); 154 155 barbaari.Color = Color.Red; 155 156 //barbaari.Position = RandomGen.NextVector(Level.Right, Level.Bottom, Level.Left, Level.Top); 156 157 barbaari.Position = spawn.Position; 158 barbaari.Animation = new Animation(vihuKuvat); 159 barbaari.Animation.FPS = 10; 160 barbaari.Animation.Start(); 157 161 Add(barbaari); 158 162 } -
2015/24/ohjaajat/Dungeon/Dungeon/Dungeon/Dungeon.csproj.Debug.cachefile
r5966 r5970 6 6 Content\nyan.xnb 7 7 Content\spurdo.xnb 8 Content\v0001.xnb 9 Content\v0002.xnb 10 Content\v0003.xnb 11 Content\v0004.xnb 12 Content\v0005.xnb 13 Content\v0006.xnb 14 Content\v0007.xnb 15 Content\v0008.xnb 16 Content\v0009.xnb 17 Content\v0010.xnb
Note: See TracChangeset
for help on using the changeset viewer.