- Timestamp:
- 2014-07-01 10:58:53 (9 years ago)
- Location:
- 2014/27/ArttuH
- Files:
-
- 19 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
2014/27/ArttuH/farmi_taistelu/farmi_taistelu/farmi_taistelu/farmi_taistelu.cs
r5200 r5202 9 9 public class farmi_taistelu : PhysicsGame 10 10 { 11 PhysicsObject pelaaja; 12 13 Image pelaajakuva = LoadImage("sotilas"); 14 11 15 public override void Begin() 12 16 { 13 17 // TODO: Kirjoita ohjelmakoodisi tähän 18 19 Level.CreateBorders(); 20 21 pelaaja = new PhysicsObject(100, 50); 22 23 Add(pelaaja); 24 25 pelaaja.Image = pelaajakuva; 26 27 28 29 30 31 14 32 15 33 PhoneBackButton.Listen(ConfirmExit, "Lopeta peli"); -
2014/27/ArttuH/farmi_taistelu/farmi_taistelu/farmi_taisteluContent/farmi_taisteluContent.contentproj
r5200 r5202 45 45 <Reference Include="AnimationExtension" /> 46 46 </ItemGroup> 47 <ItemGroup> 48 <Compile Include="sotilas.png"> 49 <Name>sotilas</Name> 50 <Importer>TextureImporter</Importer> 51 <Processor>TextureProcessor</Processor> 52 </Compile> 53 </ItemGroup> 47 54 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 48 55 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Note: See TracChangeset
for help on using the changeset viewer.