mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
Let's code
This commit is contained in:
31
DungeonAndDeamonScript/DungeonAndDeamonScript.sln
Normal file
31
DungeonAndDeamonScript/DungeonAndDeamonScript.sln
Normal file
@ -0,0 +1,31 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29806.167
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DungeonAndDemaonScript", "DungeonAndDemaonScript\DungeonAndDemaonScript.vcxproj", "{407012D6-416D-42BD-B4EE-3E29A25F26DB}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{407012D6-416D-42BD-B4EE-3E29A25F26DB}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{407012D6-416D-42BD-B4EE-3E29A25F26DB}.Debug|x64.Build.0 = Debug|x64
|
||||
{407012D6-416D-42BD-B4EE-3E29A25F26DB}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{407012D6-416D-42BD-B4EE-3E29A25F26DB}.Debug|x86.Build.0 = Debug|Win32
|
||||
{407012D6-416D-42BD-B4EE-3E29A25F26DB}.Release|x64.ActiveCfg = Release|x64
|
||||
{407012D6-416D-42BD-B4EE-3E29A25F26DB}.Release|x64.Build.0 = Release|x64
|
||||
{407012D6-416D-42BD-B4EE-3E29A25F26DB}.Release|x86.ActiveCfg = Release|Win32
|
||||
{407012D6-416D-42BD-B4EE-3E29A25F26DB}.Release|x86.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {B3717307-615F-4440-8C0C-4D583887486F}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
1
DungeonAndDeamonScript/DungeonAndDemaonScript/Bullet.cpp
Normal file
1
DungeonAndDeamonScript/DungeonAndDemaonScript/Bullet.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "Bullet.h"
|
9
DungeonAndDeamonScript/DungeonAndDemaonScript/Bullet.h
Normal file
9
DungeonAndDeamonScript/DungeonAndDemaonScript/Bullet.h
Normal file
@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
#include "Item.h"
|
||||
class Bullet :
|
||||
public Item
|
||||
{
|
||||
public:
|
||||
int degat;
|
||||
};
|
||||
|
@ -0,0 +1,223 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>16.0</VCProjectVersion>
|
||||
<ProjectGuid>{407012D6-416D-42BD-B4EE-3E29A25F26DB}</ProjectGuid>
|
||||
<RootNamespace>DungeonAndDemaonScript</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
<ProjectName>DungeonAndDeamonScript</ProjectName>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\DungeonAndDeamon\.script</OutDir>
|
||||
<IncludePath>..\..\GodoBinding\include;..\..\GodoBinding\include\core;..\..\GodoBinding\include\gen;..\..\GodoBinding\godot_headers;$(IncludePath)</IncludePath>
|
||||
<LibraryPath>..\..\GodoBinding\lib;$(LibraryPath)</LibraryPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\DungeonAndDeamon\.script</OutDir>
|
||||
<IncludePath>..\..\GodoBinding\include;..\..\GodoBinding\include\core;..\..\GodoBinding\include\gen;..\..\GodoBinding\godot_headers;$(IncludePath)</IncludePath>
|
||||
<LibraryPath>..\..\GodoBinding\lib;$(LibraryPath)</LibraryPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\DungeonAndDeamon\.script</OutDir>
|
||||
<IncludePath>..\..\GodoBinding\include;..\..\GodoBinding\include\core;..\..\GodoBinding\include\gen;..\..\GodoBinding\godot_headers;$(IncludePath)</IncludePath>
|
||||
<LibraryPath>..\..\GodoBinding\lib;$(LibraryPath)</LibraryPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\DungeonAndDeamon\.script</OutDir>
|
||||
<IncludePath>..\..\GodoBinding\include;..\..\GodoBinding\include\core;..\..\GodoBinding\include\gen;..\..\GodoBinding\godot_headers;$(IncludePath)</IncludePath>
|
||||
<LibraryPath>..\..\GodoBinding\lib;$(LibraryPath)</LibraryPath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalLibraryDirectories>..\..\GodoBinding\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalLibraryDirectories>..\..\GodoBinding\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalDependencies>libgodot-cpp.windows.debug.default.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalLibraryDirectories>..\..\GodoBinding\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalLibraryDirectories>..\..\GodoBinding\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalDependencies>libgodot-cpp.windows.releases.default.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Bullet.cpp" />
|
||||
<ClCompile Include="Entite.cpp" />
|
||||
<ClCompile Include="Equipement.cpp" />
|
||||
<ClCompile Include="GestionCollision.cpp" />
|
||||
<ClCompile Include="GestionIdentifiant.cpp" />
|
||||
<ClCompile Include="GestionItem.cpp" />
|
||||
<ClCompile Include="GestionJeu.cpp" />
|
||||
<ClCompile Include="GestionMobs.cpp" />
|
||||
<ClCompile Include="GestionPlayer.cpp" />
|
||||
<ClCompile Include="GestionTerrain.cpp" />
|
||||
<ClCompile Include="GodotLibrary.cpp" />
|
||||
<ClCompile Include="Item.cpp" />
|
||||
<ClCompile Include="Loot.cpp" />
|
||||
<ClCompile Include="Mobs.cpp" />
|
||||
<ClCompile Include="MobsAgressif.cpp" />
|
||||
<ClCompile Include="MobsCorpACorp.cpp" />
|
||||
<ClCompile Include="MobsCorpACorpIA.cpp" />
|
||||
<ClCompile Include="MobsDistance.cpp" />
|
||||
<ClCompile Include="MobsDistanceIA.cpp" />
|
||||
<ClCompile Include="MobsIA.cpp" />
|
||||
<ClCompile Include="MobsPassif.cpp" />
|
||||
<ClCompile Include="Mur.cpp" />
|
||||
<ClCompile Include="Piece.cpp" />
|
||||
<ClCompile Include="Player.cpp" />
|
||||
<ClCompile Include="Root.cpp" />
|
||||
<ClCompile Include="Sol.cpp" />
|
||||
<ClCompile Include="SolSolide.cpp" />
|
||||
<ClCompile Include="SolTraversable.cpp" />
|
||||
<ClCompile Include="Terrain.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Bullet.h" />
|
||||
<ClInclude Include="Entite.h" />
|
||||
<ClInclude Include="Equipement.h" />
|
||||
<ClInclude Include="GestionCollision.h" />
|
||||
<ClInclude Include="GestionIdentifiant.h" />
|
||||
<ClInclude Include="GestionItem.h" />
|
||||
<ClInclude Include="GestionJeu.h" />
|
||||
<ClInclude Include="GestionMobs.h" />
|
||||
<ClInclude Include="GestionPlayer.h" />
|
||||
<ClInclude Include="GestionTerrain.h" />
|
||||
<ClInclude Include="Item.h" />
|
||||
<ClInclude Include="Loot.h" />
|
||||
<ClInclude Include="Mobs.h" />
|
||||
<ClInclude Include="MobsAgressif.h" />
|
||||
<ClInclude Include="MobsCorpACorp.h" />
|
||||
<ClInclude Include="MobsCorpACorpIA.h" />
|
||||
<ClInclude Include="MobsDistance.h" />
|
||||
<ClInclude Include="MobsDistanceIA.h" />
|
||||
<ClInclude Include="MobsIA.h" />
|
||||
<ClInclude Include="MobsPassif.h" />
|
||||
<ClInclude Include="Mur.h" />
|
||||
<ClInclude Include="Piece.h" />
|
||||
<ClInclude Include="Player.h" />
|
||||
<ClInclude Include="Root.h" />
|
||||
<ClInclude Include="Sol.h" />
|
||||
<ClInclude Include="SolSolide.h" />
|
||||
<ClInclude Include="SolTraversable.h" />
|
||||
<ClInclude Include="Terrain.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
@ -0,0 +1,216 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Fichiers d%27en-tête">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Fichiers de ressources">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Fichiers d%27en-tête\Entites">
|
||||
<UniqueIdentifier>{5e49fdfd-2653-4383-a938-9594db7a79ff}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Fichiers d%27en-tête\Entites\Mobs">
|
||||
<UniqueIdentifier>{de4ac3d9-fb69-43ce-adef-80f0898686b2}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Fichiers d%27en-tête\Ground">
|
||||
<UniqueIdentifier>{170ea3fc-3b5e-4ae1-b417-cb77fb63a3e2}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Fichiers d%27en-tête\Noyau">
|
||||
<UniqueIdentifier>{ed9f0603-4a2f-40dd-bf16-52ef01c864e6}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Fichiers sources">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Fichiers sources\Entites">
|
||||
<UniqueIdentifier>{dfdc88f4-4d12-499e-af43-cd554cd46909}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Fichiers sources\Entites\Mobs">
|
||||
<UniqueIdentifier>{8a4132c0-a54b-4dff-924b-7e09fa7348b6}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Fichiers sources\Ground">
|
||||
<UniqueIdentifier>{65d48479-bca0-4bae-82ac-36f3bdd7dd22}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Fichiers sources\Noyau">
|
||||
<UniqueIdentifier>{40e4fb97-0924-4fe4-9ef7-f41ee1e8ce48}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Entite.cpp">
|
||||
<Filter>Fichiers sources\Entites</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Item.cpp">
|
||||
<Filter>Fichiers sources\Entites</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Bullet.cpp">
|
||||
<Filter>Fichiers sources\Entites</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Equipement.cpp">
|
||||
<Filter>Fichiers sources\Entites</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Loot.cpp">
|
||||
<Filter>Fichiers sources\Entites</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Piece.cpp">
|
||||
<Filter>Fichiers sources\Entites</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Mobs.cpp">
|
||||
<Filter>Fichiers sources\Entites\Mobs</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="MobsAgressif.cpp">
|
||||
<Filter>Fichiers sources\Entites\Mobs</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="MobsCorpACorp.cpp">
|
||||
<Filter>Fichiers sources\Entites\Mobs</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="MobsDistance.cpp">
|
||||
<Filter>Fichiers sources\Entites\Mobs</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="MobsPassif.cpp">
|
||||
<Filter>Fichiers sources\Entites\Mobs</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Player.cpp">
|
||||
<Filter>Fichiers sources\Entites\Mobs</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Mur.cpp">
|
||||
<Filter>Fichiers sources\Ground</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Sol.cpp">
|
||||
<Filter>Fichiers sources\Ground</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="SolSolide.cpp">
|
||||
<Filter>Fichiers sources\Ground</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="SolTraversable.cpp">
|
||||
<Filter>Fichiers sources\Ground</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Terrain.cpp">
|
||||
<Filter>Fichiers sources\Ground</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="GestionCollision.cpp">
|
||||
<Filter>Fichiers sources\Noyau</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="GestionIdentifiant.cpp">
|
||||
<Filter>Fichiers sources\Noyau</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="GestionItem.cpp">
|
||||
<Filter>Fichiers sources\Noyau</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="GestionJeu.cpp">
|
||||
<Filter>Fichiers sources\Noyau</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="GestionMobs.cpp">
|
||||
<Filter>Fichiers sources\Noyau</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="GestionPlayer.cpp">
|
||||
<Filter>Fichiers sources\Noyau</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="GestionTerrain.cpp">
|
||||
<Filter>Fichiers sources\Noyau</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="MobsCorpACorpIA.cpp">
|
||||
<Filter>Fichiers sources\Noyau</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="MobsDistanceIA.cpp">
|
||||
<Filter>Fichiers sources\Noyau</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="MobsIA.cpp">
|
||||
<Filter>Fichiers sources\Noyau</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="GodotLibrary.cpp">
|
||||
<Filter>Fichiers sources</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Root.cpp">
|
||||
<Filter>Fichiers sources</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Entite.h">
|
||||
<Filter>Fichiers d%27en-tête\Entites</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Item.h">
|
||||
<Filter>Fichiers d%27en-tête\Entites</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Bullet.h">
|
||||
<Filter>Fichiers d%27en-tête\Entites</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Equipement.h">
|
||||
<Filter>Fichiers d%27en-tête\Entites</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Loot.h">
|
||||
<Filter>Fichiers d%27en-tête\Entites</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Piece.h">
|
||||
<Filter>Fichiers d%27en-tête\Entites</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Mobs.h">
|
||||
<Filter>Fichiers d%27en-tête\Entites\Mobs</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="MobsAgressif.h">
|
||||
<Filter>Fichiers d%27en-tête\Entites\Mobs</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="MobsCorpACorp.h">
|
||||
<Filter>Fichiers d%27en-tête\Entites\Mobs</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="MobsDistance.h">
|
||||
<Filter>Fichiers d%27en-tête\Entites\Mobs</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="MobsPassif.h">
|
||||
<Filter>Fichiers d%27en-tête\Entites\Mobs</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Player.h">
|
||||
<Filter>Fichiers d%27en-tête\Entites\Mobs</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="SolTraversable.h">
|
||||
<Filter>Fichiers d%27en-tête\Ground</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Mur.h">
|
||||
<Filter>Fichiers d%27en-tête\Ground</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Sol.h">
|
||||
<Filter>Fichiers d%27en-tête\Ground</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="SolSolide.h">
|
||||
<Filter>Fichiers d%27en-tête\Ground</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Terrain.h">
|
||||
<Filter>Fichiers d%27en-tête\Ground</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="GestionCollision.h">
|
||||
<Filter>Fichiers d%27en-tête\Noyau</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="GestionIdentifiant.h">
|
||||
<Filter>Fichiers d%27en-tête\Noyau</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="GestionItem.h">
|
||||
<Filter>Fichiers d%27en-tête\Noyau</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="GestionJeu.h">
|
||||
<Filter>Fichiers d%27en-tête\Noyau</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="GestionMobs.h">
|
||||
<Filter>Fichiers d%27en-tête\Noyau</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="GestionPlayer.h">
|
||||
<Filter>Fichiers d%27en-tête\Noyau</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="GestionTerrain.h">
|
||||
<Filter>Fichiers d%27en-tête\Noyau</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="MobsCorpACorpIA.h">
|
||||
<Filter>Fichiers d%27en-tête\Noyau</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="MobsDistanceIA.h">
|
||||
<Filter>Fichiers d%27en-tête\Noyau</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="MobsIA.h">
|
||||
<Filter>Fichiers d%27en-tête\Noyau</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Root.h">
|
||||
<Filter>Fichiers d%27en-tête</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
13
DungeonAndDeamonScript/DungeonAndDemaonScript/Entite.cpp
Normal file
13
DungeonAndDeamonScript/DungeonAndDemaonScript/Entite.cpp
Normal file
@ -0,0 +1,13 @@
|
||||
#include "Entite.h"
|
||||
|
||||
void Entite::_init()
|
||||
{
|
||||
}
|
||||
|
||||
void Entite::_process(float delta)
|
||||
{
|
||||
}
|
||||
|
||||
void Entite::UpdateMotionFromInput()
|
||||
{
|
||||
}
|
20
DungeonAndDeamonScript/DungeonAndDemaonScript/Entite.h
Normal file
20
DungeonAndDeamonScript/DungeonAndDemaonScript/Entite.h
Normal file
@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include <KinematicBody2D.hpp>
|
||||
|
||||
class Entite :
|
||||
public godot::KinematicBody2D
|
||||
{
|
||||
public:
|
||||
int id;
|
||||
|
||||
int speed;
|
||||
int gravity;
|
||||
|
||||
godot::Vector2 motion;
|
||||
|
||||
public:
|
||||
void _init();
|
||||
void _process(float delta);
|
||||
void UpdateMotionFromInput();
|
||||
};
|
||||
|
@ -0,0 +1 @@
|
||||
#include "Equipement.h"
|
@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
#include "Loot.h"
|
||||
class Equipement :
|
||||
public Loot
|
||||
{
|
||||
};
|
||||
|
@ -0,0 +1,16 @@
|
||||
#include "GestionCollision.h"
|
||||
|
||||
std::vector<Mobs> GestionCollision::CheckCollisonSol()
|
||||
{
|
||||
return std::vector<Mobs>();
|
||||
}
|
||||
|
||||
std::vector<Mobs> GestionCollision::CheckCollisonMur()
|
||||
{
|
||||
return std::vector<Mobs>();
|
||||
}
|
||||
|
||||
std::vector<Mobs> GestionCollision::CheckCollisonToit()
|
||||
{
|
||||
return std::vector<Mobs>();
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include "GestionMobs.h"
|
||||
#include "GestionPlayer.h"
|
||||
#include "GestionTerrain.h"
|
||||
#include "Mobs.h"
|
||||
#include <vector>
|
||||
|
||||
class GestionCollision
|
||||
{
|
||||
public :
|
||||
GestionTerrain gTerrain;
|
||||
GestionMobs gMobs;
|
||||
GestionPlayer gPlayer;
|
||||
|
||||
public:
|
||||
std::vector<Mobs> CheckCollisonSol();
|
||||
std::vector<Mobs> CheckCollisonMur();
|
||||
std::vector<Mobs> CheckCollisonToit();
|
||||
};
|
||||
|
@ -0,0 +1,6 @@
|
||||
#include "GestionIdentifiant.h"
|
||||
|
||||
int GestionIdentifiant::getId()
|
||||
{
|
||||
return 0;
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
class GestionIdentifiant
|
||||
{
|
||||
public:
|
||||
int idCourant;
|
||||
|
||||
public:
|
||||
int getId();
|
||||
};
|
||||
|
@ -0,0 +1 @@
|
||||
#include "GestionItem.h"
|
11
DungeonAndDeamonScript/DungeonAndDemaonScript/GestionItem.h
Normal file
11
DungeonAndDeamonScript/DungeonAndDemaonScript/GestionItem.h
Normal file
@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
#include <vector>
|
||||
|
||||
#include "Item.h"
|
||||
|
||||
class GestionItem
|
||||
{
|
||||
public:
|
||||
std::vector<Item> items;
|
||||
};
|
||||
|
@ -0,0 +1 @@
|
||||
#include "GestionJeu.h"
|
19
DungeonAndDeamonScript/DungeonAndDemaonScript/GestionJeu.h
Normal file
19
DungeonAndDeamonScript/DungeonAndDemaonScript/GestionJeu.h
Normal file
@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
#include "GestionCollision.h"
|
||||
#include "GestionIdentifiant.h"
|
||||
#include "GestionItem.h"
|
||||
#include "GestionMobs.h"
|
||||
#include "GestionPlayer.h"
|
||||
#include "GestionTerrain.h"
|
||||
|
||||
class GestionJeu
|
||||
{
|
||||
public:
|
||||
GestionPlayer gPlayer;
|
||||
GestionMobs gMobs;
|
||||
GestionTerrain gTerrain;
|
||||
GestionCollision gCollision;
|
||||
GestionItem gItem;
|
||||
GestionIdentifiant gId;
|
||||
};
|
||||
|
@ -0,0 +1,17 @@
|
||||
#include "GestionMobs.h"
|
||||
|
||||
void GestionMobs::AjoutMobC2C(int pvMax, int speed, int degat, int cooldown, int rangeDegat, int rangeAgro)
|
||||
{
|
||||
}
|
||||
|
||||
void GestionMobs::AjoutMobDistance(int pvMax, int speed, int degat, int cooldown, int rangeAgro)
|
||||
{
|
||||
}
|
||||
|
||||
void GestionMobs::SupprimerMob(int id)
|
||||
{
|
||||
}
|
||||
|
||||
void GestionMobs::SupprimerTout()
|
||||
{
|
||||
}
|
19
DungeonAndDeamonScript/DungeonAndDemaonScript/GestionMobs.h
Normal file
19
DungeonAndDeamonScript/DungeonAndDemaonScript/GestionMobs.h
Normal file
@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
#include <vector>
|
||||
|
||||
#include "MobsIA.h"
|
||||
|
||||
|
||||
class GestionMobs
|
||||
{
|
||||
public :
|
||||
std::vector<MobsIA> mobs;
|
||||
|
||||
public:
|
||||
void AjoutMobC2C(int pvMax, int speed, int degat, int cooldown, int rangeDegat, int rangeAgro);
|
||||
void AjoutMobDistance(int pvMax, int speed, int degat, int cooldown, int rangeAgro);
|
||||
|
||||
void SupprimerMob(int id);
|
||||
void SupprimerTout();
|
||||
};
|
||||
|
@ -0,0 +1,25 @@
|
||||
#include "GestionPlayer.h"
|
||||
|
||||
void GestionPlayer::droit()
|
||||
{
|
||||
}
|
||||
|
||||
void GestionPlayer::gauche()
|
||||
{
|
||||
}
|
||||
|
||||
void GestionPlayer::bas()
|
||||
{
|
||||
}
|
||||
|
||||
void GestionPlayer::saut()
|
||||
{
|
||||
}
|
||||
|
||||
void GestionPlayer::idle()
|
||||
{
|
||||
}
|
||||
|
||||
void GestionPlayer::attack()
|
||||
{
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
#include "Player.h"
|
||||
|
||||
class GestionPlayer
|
||||
{
|
||||
public:
|
||||
Player p;
|
||||
|
||||
public:
|
||||
void droit();
|
||||
void gauche();
|
||||
void bas();
|
||||
void saut();
|
||||
void idle();
|
||||
void attack();
|
||||
};
|
||||
|
@ -0,0 +1,17 @@
|
||||
#include "GestionTerrain.h"
|
||||
|
||||
void GestionTerrain::AjoutMur(int sizeX, int sizeY, int posX, int posY)
|
||||
{
|
||||
}
|
||||
|
||||
void GestionTerrain::AjoutSolSolide(int sizeX, int sizeY, int posX, int posY)
|
||||
{
|
||||
}
|
||||
|
||||
void GestionTerrain::AjoutSolTraversable(int sizeX, int sizeY, int posX, int posY)
|
||||
{
|
||||
}
|
||||
|
||||
void GestionTerrain::SuppressionTout()
|
||||
{
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
#include <vector>
|
||||
|
||||
#include "Terrain.h"
|
||||
|
||||
class GestionTerrain
|
||||
{
|
||||
public:
|
||||
std::vector<Terrain> terrains;
|
||||
|
||||
public:
|
||||
void AjoutMur(int sizeX, int sizeY, int posX, int posY);
|
||||
void AjoutSolSolide(int sizeX, int sizeY, int posX, int posY);
|
||||
void AjoutSolTraversable(int sizeX, int sizeY, int posX, int posY);
|
||||
|
||||
void SuppressionTout();
|
||||
};
|
||||
|
@ -0,0 +1,16 @@
|
||||
#include "Player.h"
|
||||
|
||||
using namespace godot;
|
||||
|
||||
extern "C" void GDN_EXPORT godot_gdnative_init(godot_gdnative_init_options * o) {
|
||||
Godot::gdnative_init(o);
|
||||
}
|
||||
|
||||
extern "C" void GDN_EXPORT godot_gdnative_terminate(godot_gdnative_terminate_options * o) {
|
||||
Godot::gdnative_terminate(o);
|
||||
}
|
||||
|
||||
extern "C" void GDN_EXPORT godot_nativescript_init(void* handle) {
|
||||
Godot::nativescript_init(handle);
|
||||
register_class<Player>();
|
||||
}
|
1
DungeonAndDeamonScript/DungeonAndDemaonScript/Item.cpp
Normal file
1
DungeonAndDeamonScript/DungeonAndDemaonScript/Item.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "Item.h"
|
7
DungeonAndDeamonScript/DungeonAndDemaonScript/Item.h
Normal file
7
DungeonAndDeamonScript/DungeonAndDemaonScript/Item.h
Normal file
@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
#include "Entite.h"
|
||||
class Item :
|
||||
public Entite
|
||||
{
|
||||
};
|
||||
|
1
DungeonAndDeamonScript/DungeonAndDemaonScript/Loot.cpp
Normal file
1
DungeonAndDeamonScript/DungeonAndDemaonScript/Loot.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "Loot.h"
|
7
DungeonAndDeamonScript/DungeonAndDemaonScript/Loot.h
Normal file
7
DungeonAndDeamonScript/DungeonAndDemaonScript/Loot.h
Normal file
@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
#include "Item.h"
|
||||
class Loot :
|
||||
public Item
|
||||
{
|
||||
};
|
||||
|
1
DungeonAndDeamonScript/DungeonAndDemaonScript/Mobs.cpp
Normal file
1
DungeonAndDeamonScript/DungeonAndDemaonScript/Mobs.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "Mobs.h"
|
11
DungeonAndDeamonScript/DungeonAndDemaonScript/Mobs.h
Normal file
11
DungeonAndDeamonScript/DungeonAndDemaonScript/Mobs.h
Normal file
@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
#include "Entite.h"
|
||||
class Mobs :
|
||||
public Entite
|
||||
{
|
||||
public:
|
||||
int pv;
|
||||
int degat;
|
||||
int cooldown;
|
||||
};
|
||||
|
@ -0,0 +1 @@
|
||||
#include "MobsAgressif.h"
|
10
DungeonAndDeamonScript/DungeonAndDemaonScript/MobsAgressif.h
Normal file
10
DungeonAndDeamonScript/DungeonAndDemaonScript/MobsAgressif.h
Normal file
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
#include "Mobs.h"
|
||||
class MobsAgressif :
|
||||
public Mobs
|
||||
{
|
||||
|
||||
public:
|
||||
int rangeAgro;
|
||||
};
|
||||
|
@ -0,0 +1 @@
|
||||
#include "MobsCorpACorp.h"
|
@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
#include "MobsAgressif.h"
|
||||
class MobsCorpACorp :
|
||||
public MobsAgressif
|
||||
{
|
||||
public:
|
||||
int rangeDegat;
|
||||
};
|
||||
|
@ -0,0 +1,5 @@
|
||||
#include "MobsCorpACorpIA.h"
|
||||
|
||||
void MobsCorpACorpIA::Action()
|
||||
{
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
#include "MobsCorpACorp.h"
|
||||
#include "MobsIA.h"
|
||||
class MobsCorpACorpIA :
|
||||
public MobsIA
|
||||
{
|
||||
public:
|
||||
MobsCorpACorp m;
|
||||
|
||||
public:
|
||||
void Action();
|
||||
};
|
||||
|
@ -0,0 +1 @@
|
||||
#include "MobsDistance.h"
|
@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
#include "MobsAgressif.h"
|
||||
class MobsDistance :
|
||||
public MobsAgressif
|
||||
{
|
||||
};
|
||||
|
@ -0,0 +1,5 @@
|
||||
#include "MobsDistanceIA.h"
|
||||
|
||||
void MobsDistanceIA::Action()
|
||||
{
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
#include "MobsDistance.h"
|
||||
#include "MobsIA.h"
|
||||
class MobsDistanceIA :
|
||||
public MobsIA
|
||||
{
|
||||
public:
|
||||
MobsDistance m;
|
||||
|
||||
public:
|
||||
void Action();
|
||||
};
|
||||
|
1
DungeonAndDeamonScript/DungeonAndDemaonScript/MobsIA.cpp
Normal file
1
DungeonAndDeamonScript/DungeonAndDemaonScript/MobsIA.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "MobsIA.h"
|
5
DungeonAndDeamonScript/DungeonAndDemaonScript/MobsIA.h
Normal file
5
DungeonAndDeamonScript/DungeonAndDemaonScript/MobsIA.h
Normal file
@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
class MobsIA
|
||||
{
|
||||
};
|
||||
|
@ -0,0 +1 @@
|
||||
#include "MobsPassif.h"
|
@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
#include "Entite.h"
|
||||
class MobsPassif :
|
||||
public Entite
|
||||
{
|
||||
};
|
||||
|
1
DungeonAndDeamonScript/DungeonAndDemaonScript/Mur.cpp
Normal file
1
DungeonAndDeamonScript/DungeonAndDemaonScript/Mur.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "Mur.h"
|
7
DungeonAndDeamonScript/DungeonAndDemaonScript/Mur.h
Normal file
7
DungeonAndDeamonScript/DungeonAndDemaonScript/Mur.h
Normal file
@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
#include "Terrain.h"
|
||||
class Mur :
|
||||
public Terrain
|
||||
{
|
||||
};
|
||||
|
1
DungeonAndDeamonScript/DungeonAndDemaonScript/Piece.cpp
Normal file
1
DungeonAndDeamonScript/DungeonAndDemaonScript/Piece.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "Piece.h"
|
9
DungeonAndDeamonScript/DungeonAndDemaonScript/Piece.h
Normal file
9
DungeonAndDeamonScript/DungeonAndDemaonScript/Piece.h
Normal file
@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
#include "Loot.h"
|
||||
class Piece :
|
||||
public Loot
|
||||
{
|
||||
public:
|
||||
int value;
|
||||
};
|
||||
|
14
DungeonAndDeamonScript/DungeonAndDemaonScript/Player.cpp
Normal file
14
DungeonAndDeamonScript/DungeonAndDemaonScript/Player.cpp
Normal file
@ -0,0 +1,14 @@
|
||||
#include "Player.h"
|
||||
|
||||
void Player::_register_methods()
|
||||
{
|
||||
register_method((char*)"_process", &Player::_process);
|
||||
}
|
||||
|
||||
void Player::_process(float delta)
|
||||
{
|
||||
}
|
||||
|
||||
Player::Player()
|
||||
{
|
||||
}
|
21
DungeonAndDeamonScript/DungeonAndDemaonScript/Player.h
Normal file
21
DungeonAndDeamonScript/DungeonAndDemaonScript/Player.h
Normal file
@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
#include "Mobs.h"
|
||||
|
||||
#include <Godot.hpp>
|
||||
#include <KinematicBody2D.hpp>
|
||||
|
||||
class Player :
|
||||
public Mobs
|
||||
{
|
||||
// Godot structure
|
||||
private:
|
||||
GODOT_CLASS(Player, KinematicBody2D)
|
||||
|
||||
public:
|
||||
void static _register_methods();
|
||||
void _process(float delta);
|
||||
|
||||
public:
|
||||
Player();
|
||||
};
|
||||
|
1
DungeonAndDeamonScript/DungeonAndDemaonScript/Root.cpp
Normal file
1
DungeonAndDeamonScript/DungeonAndDemaonScript/Root.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "Root.h"
|
5
DungeonAndDeamonScript/DungeonAndDemaonScript/Root.h
Normal file
5
DungeonAndDeamonScript/DungeonAndDemaonScript/Root.h
Normal file
@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
class Root
|
||||
{
|
||||
};
|
||||
|
1
DungeonAndDeamonScript/DungeonAndDemaonScript/Sol.cpp
Normal file
1
DungeonAndDeamonScript/DungeonAndDemaonScript/Sol.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "Sol.h"
|
7
DungeonAndDeamonScript/DungeonAndDemaonScript/Sol.h
Normal file
7
DungeonAndDeamonScript/DungeonAndDemaonScript/Sol.h
Normal file
@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
#include "Terrain.h"
|
||||
class Sol :
|
||||
public Terrain
|
||||
{
|
||||
};
|
||||
|
@ -0,0 +1 @@
|
||||
#include "SolSolide.h"
|
@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
#include "Sol.h"
|
||||
class SolSolide :
|
||||
public Sol
|
||||
{
|
||||
};
|
||||
|
@ -0,0 +1 @@
|
||||
#include "SolTraversable.h"
|
@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
#include "Sol.h"
|
||||
class SolTraversable :
|
||||
public Sol
|
||||
{
|
||||
};
|
||||
|
@ -0,0 +1 @@
|
||||
#include "Terrain.h"
|
8
DungeonAndDeamonScript/DungeonAndDemaonScript/Terrain.h
Normal file
8
DungeonAndDeamonScript/DungeonAndDemaonScript/Terrain.h
Normal file
@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
#include <StaticBody2D.hpp>
|
||||
|
||||
class Terrain :
|
||||
public godot::StaticBody2D
|
||||
{
|
||||
};
|
||||
|
Reference in New Issue
Block a user