Changeset 9260 for 2017/31/TaavettiV
- Timestamp:
- 2017-07-31 11:50:25 (4 years ago)
- Location:
- 2017/31/TaavettiV/Trumpsimulator/Trumpsimulator
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
2017/31/TaavettiV/Trumpsimulator/Trumpsimulator/Trumpsimulator/Trumpsimulator.cs
r9259 r9260 6 6 using Jypeli.Effects; 7 7 using Jypeli.Widgets; 8 9 class Pelihahmo : PlatformCharacter 10 { 11 private IntMeter elamaLaskuri = new IntMeter(3, 0, 3); 12 public IntMeter ElamaLaskuri { get { return elamaLaskuri; } } 13 14 public Pelihahmo(double leveys, double korkeus) 15 : base(leveys, korkeus) 16 { 17 elamaLaskuri.LowerLimit += delegate { this.Destroy(); }; 18 } 19 20 } 21 8 22 9 23 public class Trumpsimulator : PhysicsGame … … 43 57 Level.CreateBorders(); 44 58 Level.Background.CreateGradient(Color.White, Color.SeaGreen); 59 Level.Background.Image = LoadImage("trump"); 45 60 } 46 61 -
2017/31/TaavettiV/Trumpsimulator/Trumpsimulator/TrumpsimulatorContent/TrumpsimulatorContent.contentproj
r9259 r9260 88 88 </Compile> 89 89 </ItemGroup> 90 <ItemGroup> 91 <Compile Include="trump.png"> 92 <Name>trump</Name> 93 <Importer>TextureImporter</Importer> 94 <Processor>TextureProcessor</Processor> 95 </Compile> 96 </ItemGroup> 90 97 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 91 98 <!-- 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.