- Timestamp:
- 2010-07-02 13:04:03 (13 years ago)
- Location:
- 2010/24/anlakane/Muistipeli
- Files:
-
- 2 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
2010/24/anlakane/Muistipeli/Content/Content.contentproj
r1031 r1039 49 49 </ItemGroup> 50 50 <ItemGroup> 51 <Compile Include="highlight.png">52 <Name>highlight</Name>53 <Importer>TextureImporter</Importer>54 <Processor>TextureProcessor</Processor>55 </Compile>56 </ItemGroup>57 <ItemGroup>58 51 <Compile Include="highlight1.png"> 59 52 <Name>highlight1</Name> … … 96 89 </Compile> 97 90 </ItemGroup> 91 <ItemGroup> 92 <Compile Include="blop.wav"> 93 <Name>blop</Name> 94 <Importer>WavImporter</Importer> 95 <Processor>SoundEffectProcessor</Processor> 96 </Compile> 97 </ItemGroup> 98 <ItemGroup> 99 <Compile Include="blim.wav"> 100 <Name>blim</Name> 101 <Importer>WavImporter</Importer> 102 <Processor>SoundEffectProcessor</Processor> 103 </Compile> 104 </ItemGroup> 105 <ItemGroup> 106 <Compile Include="pelaaja1.png"> 107 <Name>pelaaja1</Name> 108 <Importer>TextureImporter</Importer> 109 <Processor>TextureProcessor</Processor> 110 </Compile> 111 <Compile Include="pelaaja2.png"> 112 <Name>pelaaja2</Name> 113 <Importer>TextureImporter</Importer> 114 <Processor>TextureProcessor</Processor> 115 </Compile> 116 </ItemGroup> 117 <ItemGroup> 118 <Compile Include="brr.wav"> 119 <Name>brr</Name> 120 <Importer>WavImporter</Importer> 121 <Processor>SoundEffectProcessor</Processor> 122 </Compile> 123 </ItemGroup> 124 <ItemGroup> 125 <Compile Include="kolmisointu.wav"> 126 <Name>kolmisointu</Name> 127 <Importer>WavImporter</Importer> 128 <Processor>SoundEffectProcessor</Processor> 129 </Compile> 130 </ItemGroup> 131 <ItemGroup> 132 <Compile Include="1.jpg"> 133 <Name>1</Name> 134 <Importer>TextureImporter</Importer> 135 <Processor>TextureProcessor</Processor> 136 </Compile> 137 <Compile Include="1_.jpg"> 138 <Name>1_</Name> 139 <Importer>TextureImporter</Importer> 140 <Processor>TextureProcessor</Processor> 141 </Compile> 142 <Compile Include="2.jpg"> 143 <Name>2</Name> 144 <Importer>TextureImporter</Importer> 145 <Processor>TextureProcessor</Processor> 146 </Compile> 147 <Compile Include="2_.jpg"> 148 <Name>2_</Name> 149 <Importer>TextureImporter</Importer> 150 <Processor>TextureProcessor</Processor> 151 </Compile> 152 <Compile Include="4.jpg"> 153 <Name>4</Name> 154 <Importer>TextureImporter</Importer> 155 <Processor>TextureProcessor</Processor> 156 </Compile> 157 <Compile Include="4_.jpg"> 158 <Name>4_</Name> 159 <Importer>TextureImporter</Importer> 160 <Processor>TextureProcessor</Processor> 161 </Compile> 162 </ItemGroup> 98 163 </Project> -
2010/24/anlakane/Muistipeli/Muistipeli.cs
r1038 r1039 8 8 using Jypeli.Effects; 9 9 10 /* 11 * Muistipeli. 12 * Author: Antti-Jussi Lakanen, Jyväskylän yliopisto, 2010. 13 * Nuorten peliohjelmointi: https://trac.cc.jyu.fi/projects/npo 14 */ 15 10 16 namespace Muistipeli 11 17 { … … 37 43 } 38 44 } 39 40 45 41 46 public class Muistipeli : Game 42 47 { … … 567 572 vuoronaytto.Text = "Pelaaja 2"; 568 573 VuoronVaihtumisEfekti("pelaaja2"); 569 //VuoronVaihtumisEfekti2("pelaaja2");570 574 return; 571 575 } … … 577 581 vuoronaytto.Text = "Pelaaja 1"; 578 582 VuoronVaihtumisEfekti("pelaaja1"); 579 //VuoronVaihtumisEfekti2("pelaaja1");580 581 583 return; 582 584 } … … 600 602 } 601 603 602 public void VuoronVaihtumisEfekti2(String kuvanNimi)603 {604 Image i = LoadImage(kuvanNimi);605 VuoroVaihtuuEfekti efekti = new VuoroVaihtuuEfekti(i, 1);606 Add(efekti);607 }608 609 604 #endregion 610 605 -
2010/24/anlakane/Muistipeli/Muistipeli.csproj
r1038 r1039 87 87 <Compile Include="Properties\AssemblyInfo.cs" /> 88 88 <Compile Include="Ohjelma.cs" /> 89 <Compile Include="VuoroVaihtuuEfekti.cs" />90 89 </ItemGroup> 91 90 <ItemGroup>
Note: See TracChangeset
for help on using the changeset viewer.