Skip to content
Snippets Groups Projects
Commit fdfb95f8 authored by Pekka Pihlajamaa's avatar Pekka Pihlajamaa
Browse files

Lisätään projekti

parent 020bd57c
No related branches found
No related tags found
No related merge requests found

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.3.32901.215
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hiko", "Hiko\Hiko.csproj", "{43EA9B41-5DC8-4199-BC4D-2E4062E4638D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{43EA9B41-5DC8-4199-BC4D-2E4062E4638D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{43EA9B41-5DC8-4199-BC4D-2E4062E4638D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{43EA9B41-5DC8-4199-BC4D-2E4062E4638D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{43EA9B41-5DC8-4199-BC4D-2E4062E4638D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {37D01718-00C6-4580-9319-6B10DFD6DB0C}
EndGlobalSection
EndGlobal
using Jypeli;
using Jypeli.Assets;
using Jypeli.Controls;
using Jypeli.Widgets;
using System;
using System.Collections.Generic;
namespace Hiko
{
public class Hiko : PhysicsGame
{
public override void Begin()
{
// Kirjoita ohjelmakoodisi tähän
PhoneBackButton.Listen(ConfirmExit, "Lopeta peli");
Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli");
}
}
}
\ No newline at end of file
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<PublishReadyToRun>false</PublishReadyToRun>
<TieredCompilation>false</TieredCompilation>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Jypeli.NET" Version="11.*" />
<PackageReference Include="Jypeli.FarseerPhysics.NET" Version="2.*" />
</ItemGroup>
</Project>
#region Using Statements
using System;
using System.Collections.Generic;
using System.Linq;
#endregion
namespace Hiko
{
/// <summary>
/// The main class.
/// </summary>
public static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
using var game = new Hiko();
game.Run();
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment