From ee881b9b8aae0eed1dff822a8a77ed94e2b2b87f Mon Sep 17 00:00:00 2001 From: Salonen Matteus Elmeri <matteus.e.salonen@student.jyu.fi> Date: Sun, 12 Nov 2023 00:17:23 +0200 Subject: [PATCH] =?UTF-8?q?En=20tii=C3=A4=20mit=C3=A4=20teen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../.idea/.idea.HyttysPeli/.idea/.gitignore | 13 ---------- .../.idea.HyttysPeli/.idea/encodings.xml | 4 --- .../.idea.HyttysPeli/.idea/indexLayout.xml | 8 ------ .../.idea/.idea.HyttysPeli/.idea/vcs.xml | 6 ----- HyttysPeli/Harjoitustyo/Harjoitustyo.cs | 24 ----------------- HyttysPeli/Harjoitustyo/Harjoitustyo.csproj | 13 ---------- HyttysPeli/Harjoitustyo/Ohjelma.cs | 26 ------------------- HyttysPeli/HyttysPeli.sln | 16 ------------ 8 files changed, 110 deletions(-) delete mode 100644 HyttysPeli/.idea/.idea.HyttysPeli/.idea/.gitignore delete mode 100644 HyttysPeli/.idea/.idea.HyttysPeli/.idea/encodings.xml delete mode 100644 HyttysPeli/.idea/.idea.HyttysPeli/.idea/indexLayout.xml delete mode 100644 HyttysPeli/.idea/.idea.HyttysPeli/.idea/vcs.xml delete mode 100644 HyttysPeli/Harjoitustyo/Harjoitustyo.cs delete mode 100644 HyttysPeli/Harjoitustyo/Harjoitustyo.csproj delete mode 100644 HyttysPeli/Harjoitustyo/Ohjelma.cs delete mode 100644 HyttysPeli/HyttysPeli.sln diff --git a/HyttysPeli/.idea/.idea.HyttysPeli/.idea/.gitignore b/HyttysPeli/.idea/.idea.HyttysPeli/.idea/.gitignore deleted file mode 100644 index 681dc18..0000000 --- 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 df87cf9..0000000 --- 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 7b08163..0000000 --- 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 6c0b863..0000000 --- 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 2f8d690..0000000 --- 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 fb98d03..0000000 --- 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 73a77c0..0000000 --- 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 a89f4b9..0000000 --- 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 -- GitLab