diff --git a/HyttysPeli/.idea/.idea.HyttysPeli/.idea/.gitignore b/HyttysPeli/.idea/.idea.HyttysPeli/.idea/.gitignore deleted file mode 100644 index 681dc18f0403a2ce4de8cd47341952f281eac810..0000000000000000000000000000000000000000 --- a/HyttysPeli/.idea/.idea.HyttysPeli/.idea/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Rider ignored files -/modules.xml -/.idea.HyttysPeli.iml -/projectSettingsUpdater.xml -/contentModel.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/HyttysPeli/.idea/.idea.HyttysPeli/.idea/encodings.xml b/HyttysPeli/.idea/.idea.HyttysPeli/.idea/encodings.xml deleted file mode 100644 index df87cf951fb4858ab7a76b68dd479c98b2df2404..0000000000000000000000000000000000000000 --- a/HyttysPeli/.idea/.idea.HyttysPeli/.idea/encodings.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" /> -</project> \ No newline at end of file diff --git a/HyttysPeli/.idea/.idea.HyttysPeli/.idea/indexLayout.xml b/HyttysPeli/.idea/.idea.HyttysPeli/.idea/indexLayout.xml deleted file mode 100644 index 7b08163cebc50fb3e777eea4881b68fcebc10590..0000000000000000000000000000000000000000 --- a/HyttysPeli/.idea/.idea.HyttysPeli/.idea/indexLayout.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="UserContentModel"> - <attachedFolders /> - <explicitIncludes /> - <explicitExcludes /> - </component> -</project> \ No newline at end of file diff --git a/HyttysPeli/.idea/.idea.HyttysPeli/.idea/vcs.xml b/HyttysPeli/.idea/.idea.HyttysPeli/.idea/vcs.xml deleted file mode 100644 index 6c0b8635858dc7ad44b93df54b762707ce49eefc..0000000000000000000000000000000000000000 --- a/HyttysPeli/.idea/.idea.HyttysPeli/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="VcsDirectoryMappings"> - <mapping directory="$PROJECT_DIR$/.." vcs="Git" /> - </component> -</project> \ No newline at end of file diff --git a/HyttysPeli/Harjoitustyo/Harjoitustyo.cs b/HyttysPeli/Harjoitustyo/Harjoitustyo.cs deleted file mode 100644 index 2f8d69074b2d93b9eb04d045240e6be9f8fbdd0a..0000000000000000000000000000000000000000 --- a/HyttysPeli/Harjoitustyo/Harjoitustyo.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using System.Collections.Generic; -using Jypeli; -using Jypeli.Assets; -using Jypeli.Controls; -using Jypeli.Widgets; - -namespace Harjoitustyo; - -/// @author Omanimi -/// @version 12.11.2023 -/// <summary> -/// -/// </summary> -public class Harjoitustyo : 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 diff --git a/HyttysPeli/Harjoitustyo/Harjoitustyo.csproj b/HyttysPeli/Harjoitustyo/Harjoitustyo.csproj deleted file mode 100644 index fb98d03a9ae4d4aa96925e3188b491c8294da81d..0000000000000000000000000000000000000000 --- a/HyttysPeli/Harjoitustyo/Harjoitustyo.csproj +++ /dev/null @@ -1,13 +0,0 @@ -<Project Sdk="Microsoft.NET.Sdk"> - - <PropertyGroup> - <OutputType>WinExe</OutputType> - <TargetFramework>net7.0</TargetFramework> - </PropertyGroup> - - <ItemGroup> - <PackageReference Include="Jypeli.NET" Version="11.*"/> - <PackageReference Include="Jypeli.FarseerPhysics.NET" Version="2.*"/> - </ItemGroup> - -</Project> diff --git a/HyttysPeli/Harjoitustyo/Ohjelma.cs b/HyttysPeli/Harjoitustyo/Ohjelma.cs deleted file mode 100644 index 73a77c0eca49cf0484d91aaa2e9894f5dc436c06..0000000000000000000000000000000000000000 --- a/HyttysPeli/Harjoitustyo/Ohjelma.cs +++ /dev/null @@ -1,26 +0,0 @@ -#region Using Statements - -using System; -using System.Collections.Generic; -using System.Linq; - -#endregion - -namespace Harjoitustyo -{ - /// <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 Harjoitustyo(); - game.Run(); - } - } -} \ No newline at end of file diff --git a/HyttysPeli/HyttysPeli.sln b/HyttysPeli/HyttysPeli.sln deleted file mode 100644 index a89f4b96215dada7e494fd5261c7d7fdd6e61731..0000000000000000000000000000000000000000 --- a/HyttysPeli/HyttysPeli.sln +++ /dev/null @@ -1,16 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Harjoitustyo", "Harjoitustyo\Harjoitustyo.csproj", "{490FDDD4-EF93-46E7-877D-A1C5B3F83355}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {490FDDD4-EF93-46E7-877D-A1C5B3F83355}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {490FDDD4-EF93-46E7-877D-A1C5B3F83355}.Debug|Any CPU.Build.0 = Debug|Any CPU - {490FDDD4-EF93-46E7-877D-A1C5B3F83355}.Release|Any CPU.ActiveCfg = Release|Any CPU - {490FDDD4-EF93-46E7-877D-A1C5B3F83355}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection -EndGlobal