diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000..05054c5c --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,28 @@ +{ + "tasks": [ + { + "type": "cppbuild", + "label": "C/C++: g++ build active file", + "command": "/usr/bin/g++", + "args": [ + "-fdiagnostics-color=always", + "-g", + "${file}", + "-o", + "${fileDirname}/${fileBasenameNoExtension}" + ], + "options": { + "cwd": "${fileDirname}" + }, + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "build", + "isDefault": true + }, + "detail": "Task generated by Debugger." + } + ], + "version": "2.0.0" +} \ No newline at end of file diff --git a/Pokemon/.vs/Pokemon/FileContentIndex/5a271142-b80c-4b93-8948-fc0e3ac0cd31.vsidx b/Pokemon/.vs/Pokemon/FileContentIndex/5a271142-b80c-4b93-8948-fc0e3ac0cd31.vsidx new file mode 100644 index 00000000..66ce68e6 Binary files /dev/null and b/Pokemon/.vs/Pokemon/FileContentIndex/5a271142-b80c-4b93-8948-fc0e3ac0cd31.vsidx differ diff --git a/Pokemon/.vs/Pokemon/v17/Browse.VC.db b/Pokemon/.vs/Pokemon/v17/Browse.VC.db new file mode 100644 index 00000000..1962f0e6 Binary files /dev/null and b/Pokemon/.vs/Pokemon/v17/Browse.VC.db differ diff --git a/Pokemon/.vs/Pokemon/v17/DocumentLayout.backup.json b/Pokemon/.vs/Pokemon/v17/DocumentLayout.backup.json new file mode 100644 index 00000000..bea6450b --- /dev/null +++ b/Pokemon/.vs/Pokemon/v17/DocumentLayout.backup.json @@ -0,0 +1,393 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{872261CB-D6AC-488B-91C5-1B44032596F2}|Pokemon.vcxproj|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\main.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{872261CB-D6AC-488B-91C5-1B44032596F2}|Pokemon.vcxproj|solutionrelative:main.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Battle\\WildEncounterManager.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Battle\\WildEncounterManager.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Microsoft\\VC\\v170\\Microsoft.CppBuild.targets||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\WildEncounterManager.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:WildEncounterManager.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\ProfessorOak.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:ProfessorOak.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Utility.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Utility.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Game.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Game.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Player.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Player.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Game.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Game.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\PokemonType.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:PokemonType.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Pokemon.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Pokemon.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Grass.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Grass.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\WildEncounterManager.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:WildEncounterManager.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Character\\ProfessorOak.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Character\\ProfessorOak.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemon.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Pokemon\\Pokemon.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Character\\Player\\Player.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Character\\Player\\Player.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Main\\Game.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Main\\Game.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Battle\\BattleManager.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Battle\\BattleManager.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\include\\Battle\\WildEncounterManager.hpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:include\\Battle\\WildEncounterManager.hpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\include\\Battle\\BattleState.hpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:include\\Battle\\BattleState.hpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Caterpie.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Pokemon\\Pokemons\\Caterpie.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Charmander.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Pokemon\\Pokemons\\Charmander.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Pidgey.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Pokemon\\Pokemons\\Pidgey.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Pikachu.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Pokemon\\Pokemons\\Pikachu.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 6, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "WildEncounterManager.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Battle\\WildEncounterManager.cpp", + "RelativeDocumentMoniker": "src\\Battle\\WildEncounterManager.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Battle\\WildEncounterManager.cpp", + "RelativeToolTip": "src\\Battle\\WildEncounterManager.cpp", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.525Z" + }, + { + "$type": "Document", + "DocumentIndex": 14, + "Title": "Pokemon.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemon.cpp", + "RelativeDocumentMoniker": "src\\Pokemon\\Pokemon.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemon.cpp", + "RelativeToolTip": "src\\Pokemon\\Pokemon.cpp", + "ViewState": "AgIAACEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.566Z" + }, + { + "$type": "Document", + "DocumentIndex": 15, + "Title": "Player.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Character\\Player\\Player.cpp", + "RelativeDocumentMoniker": "src\\Character\\Player\\Player.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Character\\Player\\Player.cpp", + "RelativeToolTip": "src\\Character\\Player\\Player.cpp", + "ViewState": "AgIAAB4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.57Z" + }, + { + "$type": "Document", + "DocumentIndex": 16, + "Title": "Game.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Main\\Game.cpp", + "RelativeDocumentMoniker": "src\\Main\\Game.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Main\\Game.cpp", + "RelativeToolTip": "src\\Main\\Game.cpp", + "ViewState": "AgIAAF0AAAAAAAAAAAAAAGMAAAAeAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.573Z" + }, + { + "$type": "Document", + "DocumentIndex": 17, + "Title": "BattleManager.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Battle\\BattleManager.cpp", + "RelativeDocumentMoniker": "src\\Battle\\BattleManager.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Battle\\BattleManager.cpp", + "RelativeToolTip": "src\\Battle\\BattleManager.cpp", + "ViewState": "AgIAACIAAAAAAAAAAAAowAsAAABFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.578Z" + }, + { + "$type": "Document", + "DocumentIndex": 18, + "Title": "WildEncounterManager.hpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\include\\Battle\\WildEncounterManager.hpp", + "RelativeDocumentMoniker": "include\\Battle\\WildEncounterManager.hpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\include\\Battle\\WildEncounterManager.hpp", + "RelativeToolTip": "include\\Battle\\WildEncounterManager.hpp", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T10:59:17.582Z" + }, + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "main.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\main.cpp", + "RelativeDocumentMoniker": "main.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\main.cpp*", + "RelativeToolTip": "main.cpp*", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2024-12-28T12:35:40.383Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 13, + "Title": "ProfessorOak.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Character\\ProfessorOak.cpp", + "RelativeDocumentMoniker": "src\\Character\\ProfessorOak.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Character\\ProfessorOak.cpp", + "RelativeToolTip": "src\\Character\\ProfessorOak.cpp", + "ViewState": "AgIAADkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.562Z" + }, + { + "$type": "Document", + "DocumentIndex": 19, + "Title": "BattleState.hpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\include\\Battle\\BattleState.hpp", + "RelativeDocumentMoniker": "include\\Battle\\BattleState.hpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\include\\Battle\\BattleState.hpp", + "RelativeToolTip": "include\\Battle\\BattleState.hpp", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T10:59:17.587Z" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "Microsoft.CppBuild.targets", + "DocumentMoniker": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Microsoft\\VC\\v170\\Microsoft.CppBuild.targets", + "RelativeDocumentMoniker": "..\\..\\..\\..\\..\\..\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Microsoft\\VC\\v170\\Microsoft.CppBuild.targets", + "ToolTip": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Microsoft\\VC\\v170\\Microsoft.CppBuild.targets", + "RelativeToolTip": "..\\..\\..\\..\\..\\..\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Microsoft\\VC\\v170\\Microsoft.CppBuild.targets", + "ViewState": "AgIAAC0EAAAAAAAAAAAMwF4EAAAEAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003801|", + "WhenOpened": "2025-01-03T07:45:06.852Z" + }, + { + "$type": "Document", + "DocumentIndex": 20, + "Title": "Caterpie.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Caterpie.cpp", + "RelativeDocumentMoniker": "src\\Pokemon\\Pokemons\\Caterpie.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Caterpie.cpp", + "RelativeToolTip": "src\\Pokemon\\Pokemons\\Caterpie.cpp", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAEAAAAKAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.605Z" + }, + { + "$type": "Document", + "DocumentIndex": 21, + "Title": "Charmander.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Charmander.cpp", + "RelativeDocumentMoniker": "src\\Pokemon\\Pokemons\\Charmander.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Charmander.cpp", + "RelativeToolTip": "src\\Pokemon\\Pokemons\\Charmander.cpp", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAEAAAAgAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.61Z" + }, + { + "$type": "Document", + "DocumentIndex": 22, + "Title": "Pidgey.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Pidgey.cpp", + "RelativeDocumentMoniker": "src\\Pokemon\\Pokemons\\Pidgey.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Pidgey.cpp", + "RelativeToolTip": "src\\Pokemon\\Pokemons\\Pidgey.cpp", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAEAAAAgAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.616Z" + }, + { + "$type": "Document", + "DocumentIndex": 23, + "Title": "Pikachu.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Pikachu.cpp", + "RelativeDocumentMoniker": "src\\Pokemon\\Pokemons\\Pikachu.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Pikachu.cpp", + "RelativeToolTip": "src\\Pokemon\\Pokemons\\Pikachu.cpp", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAIAAAATAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.621Z" + }, + { + "$type": "Document", + "DocumentIndex": 5, + "Title": "Utility.h", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Utility.h", + "RelativeDocumentMoniker": "Utility.h", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Utility.h", + "RelativeToolTip": "Utility.h", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T07:02:31.487Z" + }, + { + "$type": "Document", + "DocumentIndex": 6, + "Title": "Game.h", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Game.h", + "RelativeDocumentMoniker": "Game.h", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Game.h", + "RelativeToolTip": "Game.h", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T07:02:31.492Z" + }, + { + "$type": "Document", + "DocumentIndex": 7, + "Title": "Player.h", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Player.h", + "RelativeDocumentMoniker": "Player.h", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Player.h", + "RelativeToolTip": "Player.h", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T07:02:31.496Z" + }, + { + "$type": "Document", + "DocumentIndex": 8, + "Title": "Game.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Game.cpp", + "RelativeDocumentMoniker": "Game.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Game.cpp", + "RelativeToolTip": "Game.cpp", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T07:02:31.5Z" + }, + { + "$type": "Document", + "DocumentIndex": 9, + "Title": "PokemonType.h", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\PokemonType.h", + "RelativeDocumentMoniker": "PokemonType.h", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\PokemonType.h", + "RelativeToolTip": "PokemonType.h", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T07:02:31.505Z" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "WildEncounterManager.h", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\WildEncounterManager.h", + "RelativeDocumentMoniker": "WildEncounterManager.h", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\WildEncounterManager.h", + "RelativeToolTip": "WildEncounterManager.h", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T07:02:31.51Z" + }, + { + "$type": "Document", + "DocumentIndex": 4, + "Title": "ProfessorOak.h", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\ProfessorOak.h", + "RelativeDocumentMoniker": "ProfessorOak.h", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\ProfessorOak.h", + "RelativeToolTip": "ProfessorOak.h", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T07:02:31.452Z" + }, + { + "$type": "Document", + "DocumentIndex": 10, + "Title": "Pokemon.h", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Pokemon.h", + "RelativeDocumentMoniker": "Pokemon.h", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Pokemon.h", + "RelativeToolTip": "Pokemon.h", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T07:02:31.515Z" + }, + { + "$type": "Document", + "DocumentIndex": 11, + "Title": "Grass.h", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Grass.h", + "RelativeDocumentMoniker": "Grass.h", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Grass.h", + "RelativeToolTip": "Grass.h", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T07:02:31.521Z" + }, + { + "$type": "Document", + "DocumentIndex": 12, + "Title": "WildEncounterManager.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\WildEncounterManager.cpp", + "RelativeDocumentMoniker": "WildEncounterManager.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\WildEncounterManager.cpp", + "RelativeToolTip": "WildEncounterManager.cpp", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T07:02:31.529Z" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Pokemon/.vs/Pokemon/v17/DocumentLayout.json b/Pokemon/.vs/Pokemon/v17/DocumentLayout.json new file mode 100644 index 00000000..26391b47 --- /dev/null +++ b/Pokemon/.vs/Pokemon/v17/DocumentLayout.json @@ -0,0 +1,393 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{872261CB-D6AC-488B-91C5-1B44032596F2}|Pokemon.vcxproj|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\main.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{872261CB-D6AC-488B-91C5-1B44032596F2}|Pokemon.vcxproj|solutionrelative:main.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Battle\\WildEncounterManager.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Battle\\WildEncounterManager.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Microsoft\\VC\\v170\\Microsoft.CppBuild.targets||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\WildEncounterManager.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:WildEncounterManager.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\ProfessorOak.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:ProfessorOak.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Utility.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Utility.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Game.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Game.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Player.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Player.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Game.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Game.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\PokemonType.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:PokemonType.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Pokemon.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Pokemon.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Grass.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Grass.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\WildEncounterManager.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:WildEncounterManager.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Character\\ProfessorOak.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Character\\ProfessorOak.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemon.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Pokemon\\Pokemon.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Character\\Player\\Player.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Character\\Player\\Player.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Main\\Game.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Main\\Game.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Battle\\BattleManager.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Battle\\BattleManager.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\include\\Battle\\WildEncounterManager.hpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:include\\Battle\\WildEncounterManager.hpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\include\\Battle\\BattleState.hpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:include\\Battle\\BattleState.hpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Caterpie.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Pokemon\\Pokemons\\Caterpie.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Charmander.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Pokemon\\Pokemons\\Charmander.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Pidgey.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Pokemon\\Pokemons\\Pidgey.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Pikachu.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\Pokemon\\Pokemons\\Pikachu.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 6, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "WildEncounterManager.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Battle\\WildEncounterManager.cpp", + "RelativeDocumentMoniker": "src\\Battle\\WildEncounterManager.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Battle\\WildEncounterManager.cpp", + "RelativeToolTip": "src\\Battle\\WildEncounterManager.cpp", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.525Z" + }, + { + "$type": "Document", + "DocumentIndex": 14, + "Title": "Pokemon.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemon.cpp", + "RelativeDocumentMoniker": "src\\Pokemon\\Pokemon.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemon.cpp", + "RelativeToolTip": "src\\Pokemon\\Pokemon.cpp", + "ViewState": "AgIAACEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.566Z" + }, + { + "$type": "Document", + "DocumentIndex": 15, + "Title": "Player.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Character\\Player\\Player.cpp", + "RelativeDocumentMoniker": "src\\Character\\Player\\Player.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Character\\Player\\Player.cpp", + "RelativeToolTip": "src\\Character\\Player\\Player.cpp", + "ViewState": "AgIAAB4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.57Z" + }, + { + "$type": "Document", + "DocumentIndex": 16, + "Title": "Game.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Main\\Game.cpp", + "RelativeDocumentMoniker": "src\\Main\\Game.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Main\\Game.cpp", + "RelativeToolTip": "src\\Main\\Game.cpp", + "ViewState": "AgIAAF0AAAAAAAAAAAAAAGMAAAAeAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.573Z" + }, + { + "$type": "Document", + "DocumentIndex": 17, + "Title": "BattleManager.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Battle\\BattleManager.cpp", + "RelativeDocumentMoniker": "src\\Battle\\BattleManager.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Battle\\BattleManager.cpp", + "RelativeToolTip": "src\\Battle\\BattleManager.cpp", + "ViewState": "AgIAACIAAAAAAAAAAAAowAsAAABFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.578Z" + }, + { + "$type": "Document", + "DocumentIndex": 18, + "Title": "WildEncounterManager.hpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\include\\Battle\\WildEncounterManager.hpp", + "RelativeDocumentMoniker": "include\\Battle\\WildEncounterManager.hpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\include\\Battle\\WildEncounterManager.hpp", + "RelativeToolTip": "include\\Battle\\WildEncounterManager.hpp", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T10:59:17.582Z" + }, + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "main.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\main.cpp", + "RelativeDocumentMoniker": "main.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\main.cpp", + "RelativeToolTip": "main.cpp", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2024-12-28T12:35:40.383Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 13, + "Title": "ProfessorOak.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Character\\ProfessorOak.cpp", + "RelativeDocumentMoniker": "src\\Character\\ProfessorOak.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Character\\ProfessorOak.cpp", + "RelativeToolTip": "src\\Character\\ProfessorOak.cpp", + "ViewState": "AgIAADkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.562Z" + }, + { + "$type": "Document", + "DocumentIndex": 19, + "Title": "BattleState.hpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\include\\Battle\\BattleState.hpp", + "RelativeDocumentMoniker": "include\\Battle\\BattleState.hpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\include\\Battle\\BattleState.hpp", + "RelativeToolTip": "include\\Battle\\BattleState.hpp", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T10:59:17.587Z" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "Microsoft.CppBuild.targets", + "DocumentMoniker": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Microsoft\\VC\\v170\\Microsoft.CppBuild.targets", + "RelativeDocumentMoniker": "..\\..\\..\\..\\..\\..\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Microsoft\\VC\\v170\\Microsoft.CppBuild.targets", + "ToolTip": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Microsoft\\VC\\v170\\Microsoft.CppBuild.targets", + "RelativeToolTip": "..\\..\\..\\..\\..\\..\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Microsoft\\VC\\v170\\Microsoft.CppBuild.targets", + "ViewState": "AgIAAC0EAAAAAAAAAAAMwF4EAAAEAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003801|", + "WhenOpened": "2025-01-03T07:45:06.852Z" + }, + { + "$type": "Document", + "DocumentIndex": 20, + "Title": "Caterpie.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Caterpie.cpp", + "RelativeDocumentMoniker": "src\\Pokemon\\Pokemons\\Caterpie.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Caterpie.cpp", + "RelativeToolTip": "src\\Pokemon\\Pokemons\\Caterpie.cpp", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAEAAAAKAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.605Z" + }, + { + "$type": "Document", + "DocumentIndex": 21, + "Title": "Charmander.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Charmander.cpp", + "RelativeDocumentMoniker": "src\\Pokemon\\Pokemons\\Charmander.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Charmander.cpp", + "RelativeToolTip": "src\\Pokemon\\Pokemons\\Charmander.cpp", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAEAAAAgAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.61Z" + }, + { + "$type": "Document", + "DocumentIndex": 22, + "Title": "Pidgey.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Pidgey.cpp", + "RelativeDocumentMoniker": "src\\Pokemon\\Pokemons\\Pidgey.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Pidgey.cpp", + "RelativeToolTip": "src\\Pokemon\\Pokemons\\Pidgey.cpp", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAEAAAAgAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.616Z" + }, + { + "$type": "Document", + "DocumentIndex": 23, + "Title": "Pikachu.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Pikachu.cpp", + "RelativeDocumentMoniker": "src\\Pokemon\\Pokemons\\Pikachu.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\src\\Pokemon\\Pokemons\\Pikachu.cpp", + "RelativeToolTip": "src\\Pokemon\\Pokemons\\Pikachu.cpp", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAIAAAATAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T10:59:17.621Z" + }, + { + "$type": "Document", + "DocumentIndex": 5, + "Title": "Utility.h", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Utility.h", + "RelativeDocumentMoniker": "Utility.h", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Utility.h", + "RelativeToolTip": "Utility.h", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T07:02:31.487Z" + }, + { + "$type": "Document", + "DocumentIndex": 6, + "Title": "Game.h", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Game.h", + "RelativeDocumentMoniker": "Game.h", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Game.h", + "RelativeToolTip": "Game.h", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T07:02:31.492Z" + }, + { + "$type": "Document", + "DocumentIndex": 7, + "Title": "Player.h", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Player.h", + "RelativeDocumentMoniker": "Player.h", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Player.h", + "RelativeToolTip": "Player.h", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T07:02:31.496Z" + }, + { + "$type": "Document", + "DocumentIndex": 8, + "Title": "Game.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Game.cpp", + "RelativeDocumentMoniker": "Game.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Game.cpp", + "RelativeToolTip": "Game.cpp", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T07:02:31.5Z" + }, + { + "$type": "Document", + "DocumentIndex": 9, + "Title": "PokemonType.h", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\PokemonType.h", + "RelativeDocumentMoniker": "PokemonType.h", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\PokemonType.h", + "RelativeToolTip": "PokemonType.h", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T07:02:31.505Z" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "WildEncounterManager.h", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\WildEncounterManager.h", + "RelativeDocumentMoniker": "WildEncounterManager.h", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\WildEncounterManager.h", + "RelativeToolTip": "WildEncounterManager.h", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T07:02:31.51Z" + }, + { + "$type": "Document", + "DocumentIndex": 4, + "Title": "ProfessorOak.h", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\ProfessorOak.h", + "RelativeDocumentMoniker": "ProfessorOak.h", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\ProfessorOak.h", + "RelativeToolTip": "ProfessorOak.h", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T07:02:31.452Z" + }, + { + "$type": "Document", + "DocumentIndex": 10, + "Title": "Pokemon.h", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Pokemon.h", + "RelativeDocumentMoniker": "Pokemon.h", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Pokemon.h", + "RelativeToolTip": "Pokemon.h", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T07:02:31.515Z" + }, + { + "$type": "Document", + "DocumentIndex": 11, + "Title": "Grass.h", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Grass.h", + "RelativeDocumentMoniker": "Grass.h", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\Grass.h", + "RelativeToolTip": "Grass.h", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", + "WhenOpened": "2025-01-03T07:02:31.521Z" + }, + { + "$type": "Document", + "DocumentIndex": 12, + "Title": "WildEncounterManager.cpp", + "DocumentMoniker": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\WildEncounterManager.cpp", + "RelativeDocumentMoniker": "WildEncounterManager.cpp", + "ToolTip": "C:\\Users\\aryan\\Desktop\\Current Project\\Pokemon\\Pokemon\\WildEncounterManager.cpp", + "RelativeToolTip": "WildEncounterManager.cpp", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-01-03T07:02:31.529Z" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Pokemon/.vs/Pokemon/v17/Solution.VC.db b/Pokemon/.vs/Pokemon/v17/Solution.VC.db new file mode 100644 index 00000000..cf4c9772 Binary files /dev/null and b/Pokemon/.vs/Pokemon/v17/Solution.VC.db differ diff --git a/Pokemon/.vs/Pokemon/v17/ipch/AutoPCH/c0d30d17d1074fed/MAIN.ipch b/Pokemon/.vs/Pokemon/v17/ipch/AutoPCH/c0d30d17d1074fed/MAIN.ipch new file mode 100644 index 00000000..5e174884 Binary files /dev/null and b/Pokemon/.vs/Pokemon/v17/ipch/AutoPCH/c0d30d17d1074fed/MAIN.ipch differ diff --git a/Pokemon/Battle/BattleManager.cpp b/Pokemon/Battle/BattleManager.cpp deleted file mode 100644 index 927e2b70..00000000 --- a/Pokemon/Battle/BattleManager.cpp +++ /dev/null @@ -1,53 +0,0 @@ -#include "BattleManager.hpp" -#include "../Character/Player/Player.hpp" -#include "../Utility/Utility.hpp" -#include - -namespace N_Battle -{ - using namespace std; - using namespace N_Utility; - - void BattleManager::startBattle(Player &player, N_Pokemon::Pokemon &wildPokemon) { - battleState.playerPokemon = player.chosenPokemon; - battleState.wildPokemon = wildPokemon; - battleState.playerTurn = true; - battleState.battleOngoing = true; - - cout << "A wild " << wildPokemon.name << " appeared!\n"; - battle(); - } - - void BattleManager::battle() { - while (battleState.battleOngoing) { - if (battleState.playerTurn) { - battleState.playerPokemon.attack(battleState.wildPokemon); - } else { - battleState.wildPokemon.attack(battleState.playerPokemon); - } - - updateBattleState(); - battleState.playerTurn = !battleState.playerTurn; - N_Utility::Utility::waitForEnter(); - } - - handleBattleOutcome(); - } - - void BattleManager::updateBattleState() { - if (battleState.playerPokemon.isFainted()) { - battleState.battleOngoing = false; - } else if (battleState.wildPokemon.isFainted()) { - battleState.battleOngoing = false; - } - } - - void BattleManager::handleBattleOutcome() { - if (battleState.playerPokemon.isFainted()) { - cout << battleState.playerPokemon.name - << " has fainted! You lose the battle.\n"; - } else { - cout << "You defeated the wild " << battleState.wildPokemon.name << "!\n"; - } - } -} diff --git a/Pokemon/Battle/BattleManager.hpp b/Pokemon/Battle/BattleManager.hpp deleted file mode 100644 index 182a8cd1..00000000 --- a/Pokemon/Battle/BattleManager.hpp +++ /dev/null @@ -1,21 +0,0 @@ -#pragma once -#include "../Battle/BattleState.hpp" -#include "../Character/Player/Player.hpp" - -namespace N_Battle -{ - class Pokemon; - - using namespace N_Character::N_Player; - - class BattleManager { - public: - void startBattle(Player &player, N_Pokemon::Pokemon &wildPokemon); - private: - BattleState battleState; - - void battle(); - void handleBattleOutcome(); - void updateBattleState(); - }; -} diff --git a/Pokemon/Battle/BattleState.hpp b/Pokemon/Battle/BattleState.hpp deleted file mode 100644 index 24a04953..00000000 --- a/Pokemon/Battle/BattleState.hpp +++ /dev/null @@ -1,14 +0,0 @@ -#pragma once -#include "../Pokemon/Pokemon.hpp" - -namespace N_Battle -{ - using namespace N_Pokemon; - - struct BattleState { - N_Pokemon::Pokemon playerPokemon; - N_Pokemon::Pokemon wildPokemon; - bool playerTurn; - bool battleOngoing; - }; -} diff --git a/Pokemon/Battle/WildEncounterManager.cpp b/Pokemon/Battle/WildEncounterManager.cpp deleted file mode 100644 index 90a99948..00000000 --- a/Pokemon/Battle/WildEncounterManager.cpp +++ /dev/null @@ -1,23 +0,0 @@ - -#include "WildEncounterManager.hpp" -#include "../Pokemon/Grass.hpp" -#include "../Pokemon/Pokemon.hpp" -#include // For rand() -#include // For time() - -namespace N_Battle -{ - using namespace N_Pokemon; - - WildEncounterManager::WildEncounterManager() { - srand(time(0)); // Seed the random number generator - } - - Pokemon WildEncounterManager::getRandomPokemonFromGrass(const Grass &grass) { - int randomIndex = rand() % grass.wildPokemonList.size(); - - Pokemon wildPokemon = grass.wildPokemonList[randomIndex]; - - return wildPokemon; - } -} diff --git a/Pokemon/Battle/WildEncounterManager.hpp b/Pokemon/Battle/WildEncounterManager.hpp deleted file mode 100644 index fb678732..00000000 --- a/Pokemon/Battle/WildEncounterManager.hpp +++ /dev/null @@ -1,20 +0,0 @@ -#include - -#include "../Pokemon/Pokemon.hpp" - -namespace N_Pokemon -{ - struct Grass; - class Pokemon; -} - -namespace N_Battle -{ - using namespace N_Pokemon; - - class WildEncounterManager { - public: - WildEncounterManager(); - N_Pokemon::Pokemon getRandomPokemonFromGrass(const Grass &grass); - }; -} diff --git a/Pokemon/Character/Player/Player.cpp b/Pokemon/Character/Player/Player.cpp deleted file mode 100644 index eea90fde..00000000 --- a/Pokemon/Character/Player/Player.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "Player.hpp" -#include "../../Pokemon/PokemonChoice.hpp" -#include "../../Pokemon/PokemonType.hpp" -#include "../../Pokemon/Pokemons/Pikachu.hpp" -#include "../../Utility/Utility.hpp" -#include "iostream" - -namespace N_Character -{ - namespace N_Player - { - using namespace N_Utility; - using namespace N_Pokemon; - using namespace N_Pokemons; - - Player::Player() { - name = "Trainer"; - chosenPokemon = Pokemon(); // Using the default Pokemon constructor - } - - Player::Player(std::string p_name, Pokemon p_chosenPokemon) { - name = p_name; - chosenPokemon = p_chosenPokemon; - } - - void Player::choosePokemon(int choice) { - switch ((PokemonChoice)choice) { - case PokemonChoice::CHARMANDER: - chosenPokemon = Pokemon("Charmander", PokemonType::FIRE, 100, 10); - break; - case PokemonChoice::BULBASAUR: - chosenPokemon = Pokemon("Bulbasaur", PokemonType::GRASS, 100, 8); - break; - case PokemonChoice::SQUIRTLE: - chosenPokemon = Pokemon("Squirtle", PokemonType::WATER, 100, 9); - break; - default: - chosenPokemon = Pikachu(); - break; - } - std::cout << "Player " << name << " chose " << chosenPokemon.name << "!\n"; - Utility::waitForEnter(); // Wait for user to press Enter before - // proceeding - } - } -} diff --git a/Pokemon/Character/Player/Player.hpp b/Pokemon/Character/Player/Player.hpp deleted file mode 100644 index ced8e146..00000000 --- a/Pokemon/Character/Player/Player.hpp +++ /dev/null @@ -1,20 +0,0 @@ -#pragma once -#include -#include "../../Pokemon/Pokemon.hpp" - -namespace N_Character -{ - namespace N_Player - { - class Player { - public: - std::string name; - N_Pokemon::Pokemon chosenPokemon; - - Player(); // Default constructor - Player(std::string p_name, N_Pokemon::Pokemon p_chosenPokemon); // Parameterized constructor - - void choosePokemon(int choice); // Method to choose a Pokemon - }; - } -} diff --git a/Pokemon/Character/ProfessorOak.cpp b/Pokemon/Character/ProfessorOak.cpp deleted file mode 100644 index b6fc7613..00000000 --- a/Pokemon/Character/ProfessorOak.cpp +++ /dev/null @@ -1,106 +0,0 @@ -#include "ProfessorOak.hpp" -#include "../Utility//Utility.hpp" -#include "Player/Player.hpp" -#include - -namespace N_Character -{ - using namespace std; - using namespace N_Utility; - using namespace N_Player; - - ProfessorOak::ProfessorOak(string p_name) { name = p_name; } - - void ProfessorOak::greetPlayer(Player &player) { - - cout << name << ": Hello there! Welcome to the world of Pokemon!\n"; - Utility::waitForEnter(); - cout << name << ": My name is Oak. People call me the Pokemon Professor!\n"; - Utility::waitForEnter(); - cout << name << ": But enough about me. Let's talk about you!\n"; - Utility::waitForEnter(); - } - - void ProfessorOak::offerPokemonChoices(Player &player) { - - std::cout << name << ": First, tell me, what’s your name? \t [Please Enter Your Name]\n"; - std::getline(std::cin, player.name); - std::cout << name << ": Ah, " << player.name << "! What a fantastic name!\n"; - Utility::waitForEnter(); - std::cout << name - << ": You must be eager to start your adventure. But first, " - "you’ll need a Pokemon of your own!\n"; - Utility::waitForEnter(); - - // Presenting Pokemon choices - cout << name << ": I have three Pokemon here with me. They’re all quite feisty!\n"; - Utility::waitForEnter(); - cout << name << ": Choose wisely...\n"; - cout << "1. Charmander - The fire type. A real hothead!\n"; - cout << "2. Bulbasaur - The grass type. Calm and collected!\n"; - cout << "3. Squirtle - The water type. Cool as a cucumber!\n"; - - int choice; - cout << name << ": So, which one will it be? Enter the number of your choice: "; - cin >> choice; - - player.choosePokemon(choice); - Utility::waitForEnter(); - } - - void ProfessorOak::explainMainQuest(Player &player) { - - // Clear the console - Utility::clearConsole(); - - cout << "Professor Oak: " << player.name - << "!, I am about to explain you about your upcoming grand " - "adventure.\n"; - Utility::waitForEnter(); - cout << "Professor Oak: You see, becoming a Pokémon Master is no easy " - "feat. It takes courage, wisdom, and a bit of luck!\n"; - Utility::waitForEnter(); - cout << "Professor Oak: Your mission, should you choose to accept it—and " - "trust me, you really don’t have a choice—is to collect all the " - "Pokémon Badges and conquer the Pokémon League.\n"; - Utility::waitForEnter(); - - cout << "\n" - << player.name - << ": Wait... that sounds a lot like every other Pokémon game " - "out there...\n"; - Utility::waitForEnter(); - cout << "Professor Oak: Shhh! Don't break the fourth wall, " << player.name - << "! This is serious business!\n"; - Utility::waitForEnter(); - - cout << "\nProfessor Oak: To achieve this, you’ll need to battle wild " - "Pokémon, challenge gym leaders, and of course, keep your " - "Pokémon healthy at the PokeCenter.\n"; - Utility::waitForEnter(); - cout << "Professor Oak: Along the way, you'll capture new Pokémon to " - "strengthen your team. Just remember—there’s a limit to how " - "many Pokémon you can carry, so choose wisely!\n"; - Utility::waitForEnter(); - - cout << "\n" << player.name << ": Sounds like a walk in the park... right?\n"; - Utility::waitForEnter(); - cout << "Professor Oak: Hah! That’s what they all say! But beware, " - "young Trainer, the path to victory is fraught with " - "challenges. And if you lose a battle... well, let’s just say " - "you'll be starting from square one.\n"; - Utility::waitForEnter(); - - cout << "\nProfessor Oak: So, what do you say? Are you ready to " - "become the next Pokémon Champion?\n"; - Utility::waitForEnter(); - cout << "\n" << player.name << ": Ready as I’ll ever be, Professor!\n"; - Utility::waitForEnter(); - - cout << "\nProfessor Oak: That’s the spirit! Now, your journey begins...\n"; - Utility::waitForEnter(); - cout << "Professor Oak: But first... let's just pretend I didn't " - "forget to set up the actual game loop... Ahem, onwards!\n"; - Utility::waitForEnter(); - } -} diff --git a/Pokemon/Character/ProfessorOak.hpp b/Pokemon/Character/ProfessorOak.hpp deleted file mode 100644 index 8fdaeba7..00000000 --- a/Pokemon/Character/ProfessorOak.hpp +++ /dev/null @@ -1,21 +0,0 @@ -#include - -#include "Player/Player.hpp" - -class Player; - -namespace N_Character -{ - using namespace std; - using namespace N_Player; - - class ProfessorOak { - public: - string name; - - ProfessorOak(string p_name); - void greetPlayer(Player &player); - void offerPokemonChoices(Player &player); - void explainMainQuest(Player &player); - }; -} diff --git a/Pokemon/Main/Game.cpp b/Pokemon/Main/Game.cpp deleted file mode 100644 index e3f9600a..00000000 --- a/Pokemon/Main/Game.cpp +++ /dev/null @@ -1,108 +0,0 @@ -#include "Game.hpp" -#include "../Battle/BattleManager.hpp" -#include "../Battle/WildEncounterManager.hpp" -#include "../Character/Player/Player.hpp" -#include "../Pokemon/PokemonType.hpp" -#include "../Pokemon/Pokemons/Caterpie.hpp" -#include "../Pokemon/Pokemons/Pidgey.hpp" -#include "../Pokemon/Pokemons/Zubat.hpp" -#include "../Utility/Utility.hpp" -#include - -namespace N_Main -{ - using namespace std; - using namespace N_Utility; - using namespace N_Pokemon; - using namespace N_Pokemon::N_Pokemons; - using namespace N_Battle; - using namespace N_Character::N_Player; - - Game::Game() { - // Create a sample grass environment with actual Pokemon objects - forestGrass = {"Forest", {Pidgey(), Caterpie(), Zubat()}, 70}; - } - - void Game::gameLoop(N_Character::N_Player::Player &player) { - - int choice; - bool keepPlaying = true; - BattleManager battleManager; - WildEncounterManager encounterManager; - N_Pokemon::Pokemon wildPokemon; - - while (keepPlaying) { - // Clear console before showing options - N_Utility::Utility::clearConsole(); - - // Display options to the player - cout << "\nWhat would you like to do next, " << player.name << "?\n"; - cout << "1. Battle Wild Pokémon\n"; - cout << "2. Visit PokeCenter\n"; - cout << "3. Challenge Gyms\n"; - cout << "4. Enter Pokémon League\n"; - cout << "5. Quit\n"; - cout << "Enter your choice: "; - cin >> choice; - - Utility::clearInputBuffer(); // Clear the input buffer - - // Process the player's choice and display the corresponding message - switch (choice) { - case 1: { - wildPokemon = encounterManager.getRandomPokemonFromGrass(forestGrass); - battleManager.startBattle(player, wildPokemon); - break; - } - case 2: { - visitPokeCenter(player); - break; - } - case 3: { - cout << "You march up to the Gym, but it's closed for renovations. Seems " - "like even Gym Leaders need a break!\n"; - break; - } - case 4: { - cout << "You boldly step towards the Pokémon League... but the " - "gatekeeper laughs and says, 'Maybe next time, champ!'\n"; - break; - } - case 5: { - cout << "You try to quit, but Professor Oak's voice echoes: 'There's no " - "quitting in Pokémon training!'\n"; - cout << "Are you sure you want to quit? (y/n): "; - char quitChoice; - cin >> quitChoice; - if (quitChoice == 'y' || quitChoice == 'Y') { - keepPlaying = false; - } - break; - } - default: { - cout << "That's not a valid choice. Try again!\n"; - break; - } - } - - // Wait for Enter key before the screen is cleared and the menu is shown - // again - N_Utility::Utility::waitForEnter(); - } - - cout << "Goodbye, " << player.name << "! Thanks for playing!\n"; - } - - void Game::visitPokeCenter(N_Character::N_Player::Player &player) { - if (player.chosenPokemon.health == player.chosenPokemon.maxHealth) { - std::cout << "Your Pokémon is already at full health!\n"; - } else { - std::cout << "You head to the PokeCenter.\n"; - std::cout << "Healing your Pokémon...\n"; - N_Utility::Utility::waitForEnter(); // Simulate a short pause for the - // healing process - player.chosenPokemon.heal(); // Heal the player's Pokémon - std::cout << player.chosenPokemon.name << "'s health is fully restored!\n"; - } - } -} diff --git a/Pokemon/Main/Game.hpp b/Pokemon/Main/Game.hpp deleted file mode 100644 index 13bf0b76..00000000 --- a/Pokemon/Main/Game.hpp +++ /dev/null @@ -1,19 +0,0 @@ -#pragma once -#include "../Character/Player/Player.hpp" -#include "../Pokemon/Grass.hpp" - -// class Player; -namespace N_Main -{ - using namespace N_Pokemon; - using namespace N_Character::N_Player; - - class Game { - private: - Grass forestGrass; - public: - Game(); - void gameLoop(Player &player); - void visitPokeCenter(Player &player); - }; -} diff --git a/Pokemon/Pokemon.vcxproj b/Pokemon/Pokemon.vcxproj index 7b1abe76..9e6331ef 100644 --- a/Pokemon/Pokemon.vcxproj +++ b/Pokemon/Pokemon.vcxproj @@ -154,37 +154,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Pokemon/Pokemon.vcxproj.filters b/Pokemon/Pokemon.vcxproj.filters index 176fd91a..644f8bee 100644 --- a/Pokemon/Pokemon.vcxproj.filters +++ b/Pokemon/Pokemon.vcxproj.filters @@ -15,7 +15,7 @@ - + Source Files diff --git a/Pokemon/Pokemon/Grass.hpp b/Pokemon/Pokemon/Grass.hpp deleted file mode 100644 index 1fe11cbf..00000000 --- a/Pokemon/Pokemon/Grass.hpp +++ /dev/null @@ -1,15 +0,0 @@ -#pragma once -#include -#include - -namespace N_Pokemon { - - class Pokemon; - - struct Grass { - std::string environmentType; // Example: "Forest", "Cave", "Riverbank" - std::vector wildPokemonList; // List of wild Pokémon in this grass - int encounterRate; // Likelihood of encountering a wild Pokémon, out of 100 - }; - -} \ No newline at end of file diff --git a/Pokemon/Pokemon/Pokemon.cpp b/Pokemon/Pokemon/Pokemon.cpp deleted file mode 100644 index 2df1e03b..00000000 --- a/Pokemon/Pokemon/Pokemon.cpp +++ /dev/null @@ -1,55 +0,0 @@ -#include "Pokemon.hpp" -#include "PokemonType.hpp" -#include - -namespace N_Pokemon { - - // Default constructor - N_Pokemon::Pokemon::Pokemon() { - name = "Unknown"; - type = PokemonType::NORMAL; - health = 50; - maxHealth = 50; - attackPower = 10; - } - - // Parameterized constructor - N_Pokemon::Pokemon::Pokemon(std::string p_name, PokemonType p_type, int p_health, - int p_attackPower) { - name = p_name; - type = p_type; - maxHealth = p_health; - health = p_health; - attackPower = p_attackPower; - } - - // Copy constructor - N_Pokemon::Pokemon::Pokemon(const Pokemon &other) { - name = other.name; - type = other.type; - health = other.health; - maxHealth = other.maxHealth; - attackPower = other.attackPower; - } - - // Reduce HP by the damage amount - void N_Pokemon::Pokemon::takeDamage(int damage) { - health -= damage; - if (health < 0) { - health = 0; - } - } - - // Check if the Pokemon has fainted - bool N_Pokemon::Pokemon::isFainted() const { return health <= 0; } - - // Restore health to full - void N_Pokemon::Pokemon::heal() { health = maxHealth; } - - // Attack another Pokemon - void N_Pokemon::Pokemon::attack(Pokemon &target) { - std::cout << name << " attacks " << target.name << " for " << attackPower - << " damage!\n"; - target.takeDamage(attackPower); - } -} // namespace N_Pokemon \ No newline at end of file diff --git a/Pokemon/Pokemon/Pokemon.hpp b/Pokemon/Pokemon/Pokemon.hpp deleted file mode 100644 index 03bcf286..00000000 --- a/Pokemon/Pokemon/Pokemon.hpp +++ /dev/null @@ -1,25 +0,0 @@ -#pragma once -#include - -namespace N_Pokemon { - - enum class PokemonType; - - class Pokemon { - public: - std::string name; - PokemonType type; - int health; - int maxHealth; - int attackPower; - - Pokemon(); - Pokemon(std::string p_name, PokemonType p_type, int p_health, int p_attackPower); - Pokemon(const Pokemon &other); - - bool isFainted() const; - void heal(); - void attack(Pokemon &target); - void takeDamage(int damage); - }; -} \ No newline at end of file diff --git a/Pokemon/Pokemon/PokemonChoice.hpp b/Pokemon/Pokemon/PokemonChoice.hpp deleted file mode 100644 index 009567d4..00000000 --- a/Pokemon/Pokemon/PokemonChoice.hpp +++ /dev/null @@ -1,10 +0,0 @@ -namespace N_Pokemon { - - // Define an enum for Pokemon choices - enum class PokemonChoice { - CHARMANDER = 1, - BULBASAUR, - SQUIRTLE, - PIKACHU // Default choice - }; -} \ No newline at end of file diff --git a/Pokemon/Pokemon/PokemonType.hpp b/Pokemon/Pokemon/PokemonType.hpp deleted file mode 100644 index 721533af..00000000 --- a/Pokemon/Pokemon/PokemonType.hpp +++ /dev/null @@ -1,14 +0,0 @@ -namespace N_Pokemon { - - // Define an enum for Pokemon types - enum class PokemonType { - FIRE, - GRASS, - WATER, - ELECTRIC, - NORMAL, - POISON, - BUG - }; - -} \ No newline at end of file diff --git a/Pokemon/Pokemon/Pokemons/Caterpie.cpp b/Pokemon/Pokemon/Pokemons/Caterpie.cpp deleted file mode 100644 index 77603892..00000000 --- a/Pokemon/Pokemon/Pokemons/Caterpie.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "Caterpie.hpp" -#include "../PokemonType.hpp" -#include - -namespace N_Pokemon { - - namespace N_Pokemons { - - using namespace std; - - N_Pokemon::N_Pokemons::Caterpie::Caterpie() : Pokemon("Caterpie", PokemonType::BUG, 100, 10) {} - - void N_Pokemon::N_Pokemons::Caterpie::bugBite(Pokemon &target) { - cout << name << " uses Bug Bite on " << target.name << "!\n"; - target.takeDamage(20); - } - } -} \ No newline at end of file diff --git a/Pokemon/Pokemon/Pokemons/Caterpie.hpp b/Pokemon/Pokemon/Pokemons/Caterpie.hpp deleted file mode 100644 index e7e936ae..00000000 --- a/Pokemon/Pokemon/Pokemons/Caterpie.hpp +++ /dev/null @@ -1,14 +0,0 @@ -#pragma once -#include "../Pokemon.hpp" - -namespace N_Pokemon { - namespace N_Pokemons { - - class Caterpie : public Pokemon { - public: - Caterpie(); - void bugBite(Pokemon &target); - }; - - } -} \ No newline at end of file diff --git a/Pokemon/Pokemon/Pokemons/Charmander.cpp b/Pokemon/Pokemon/Pokemons/Charmander.cpp deleted file mode 100644 index 35750fd4..00000000 --- a/Pokemon/Pokemon/Pokemons/Charmander.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "Charmander.hpp" -#include "../PokemonType.hpp" -#include - -namespace N_Pokemon { - namespace N_Pokemons { - using namespace std; - - N_Pokemon::N_Pokemons::Charmander::Charmander() : Pokemon("Charmander", PokemonType::FIRE, 100, 35) {} - - void N_Pokemon::N_Pokemons::Charmander::flameThrower(Pokemon &target) { - cout << name << " uses Flame Thrower on " << target.name << "!\n"; - target.takeDamage(20); - } - } -} \ No newline at end of file diff --git a/Pokemon/Pokemon/Pokemons/Charmander.hpp b/Pokemon/Pokemon/Pokemons/Charmander.hpp deleted file mode 100644 index 6cfb5466..00000000 --- a/Pokemon/Pokemon/Pokemons/Charmander.hpp +++ /dev/null @@ -1,14 +0,0 @@ -#pragma once -#include "../Pokemon.hpp" - -namespace N_Pokemon { - namespace N_Pokemons { - - class Charmander : public Pokemon { - public: - Charmander(); - void flameThrower(Pokemon &target); - }; - - } -} \ No newline at end of file diff --git a/Pokemon/Pokemon/Pokemons/Pidgey.cpp b/Pokemon/Pokemon/Pokemons/Pidgey.cpp deleted file mode 100644 index b4263d5a..00000000 --- a/Pokemon/Pokemon/Pokemons/Pidgey.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "Pidgey.hpp" -#include "../PokemonType.hpp" -#include - -namespace N_Pokemon { - namespace N_Pokemons { - using namespace std; - - N_Pokemon::N_Pokemons::Pidgey::Pidgey() : Pokemon("Pidgey", PokemonType::NORMAL, 100, 35) {} - - void N_Pokemon::N_Pokemons::Pidgey::wingAttack(Pokemon &target) { - cout << name << " uses Wing Attack on " << target.name << "!\n"; - target.takeDamage(20); - } - } -} \ No newline at end of file diff --git a/Pokemon/Pokemon/Pokemons/Pidgey.hpp b/Pokemon/Pokemon/Pokemons/Pidgey.hpp deleted file mode 100644 index c5e0ff96..00000000 --- a/Pokemon/Pokemon/Pokemons/Pidgey.hpp +++ /dev/null @@ -1,14 +0,0 @@ -#pragma once -#include "../Pokemon.hpp" - -namespace N_Pokemon { - namespace N_Pokemons { - - class Pidgey : public Pokemon { - public: - Pidgey(); - void wingAttack(Pokemon &target); - }; - - } -} \ No newline at end of file diff --git a/Pokemon/Pokemon/Pokemons/Pikachu.cpp b/Pokemon/Pokemon/Pokemons/Pikachu.cpp deleted file mode 100644 index b03dbaff..00000000 --- a/Pokemon/Pokemon/Pokemons/Pikachu.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "Pikachu.hpp" -#include "../PokemonType.hpp" -#include - -namespace N_Pokemon { - namespace N_Pokemons { - - using namespace std; - - N_Pokemon::N_Pokemons::Pikachu::Pikachu() : Pokemon("Pikachu", PokemonType::ELECTRIC, 100, 20) {} - - void N_Pokemon::N_Pokemons::Pikachu::thunderShock(Pokemon &target) { - cout << name << " uses Thunder Shock on " << target.name << "!\n"; - target.takeDamage(20); - } - } -} \ No newline at end of file diff --git a/Pokemon/Pokemon/Pokemons/Pikachu.hpp b/Pokemon/Pokemon/Pokemons/Pikachu.hpp deleted file mode 100644 index bf181856..00000000 --- a/Pokemon/Pokemon/Pokemons/Pikachu.hpp +++ /dev/null @@ -1,14 +0,0 @@ -#pragma once -#include "../Pokemon.hpp" - -namespace N_Pokemon { - namespace N_Pokemons { - - class Pikachu : public Pokemon { - public: - Pikachu(); - void thunderShock(Pokemon &target); - }; - - } -} \ No newline at end of file diff --git a/Pokemon/Pokemon/Pokemons/Zubat.cpp b/Pokemon/Pokemon/Pokemons/Zubat.cpp deleted file mode 100644 index 3aaaae7e..00000000 --- a/Pokemon/Pokemon/Pokemons/Zubat.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "Zubat.hpp" -#include "../PokemonType.hpp" -#include - -namespace N_Pokemon { - namespace N_Pokemons { - - using namespace std; - - N_Pokemon::N_Pokemons::Zubat::Zubat() : Pokemon("Zubat", PokemonType::POISON, 100, 20) {} - - void N_Pokemon::N_Pokemons::Zubat::supersonic(Pokemon &target) { - cout << name << " uses Supersonic on " << target.name << "!\n"; - target.takeDamage(20); - } - - } -} \ No newline at end of file diff --git a/Pokemon/Pokemon/Pokemons/Zubat.hpp b/Pokemon/Pokemon/Pokemons/Zubat.hpp deleted file mode 100644 index 8a478329..00000000 --- a/Pokemon/Pokemon/Pokemons/Zubat.hpp +++ /dev/null @@ -1,14 +0,0 @@ -#pragma once -#include "../Pokemon.hpp" - -namespace N_Pokemon { - namespace N_Pokemons { - - class Zubat : public Pokemon { - public: - Zubat(); - void supersonic(Pokemon &target); - }; - - } -} \ No newline at end of file diff --git a/Pokemon/Pokemon/x64/Debug/Pokemon.exe.recipe b/Pokemon/Pokemon/x64/Debug/Pokemon.exe.recipe new file mode 100644 index 00000000..81f6b19a --- /dev/null +++ b/Pokemon/Pokemon/x64/Debug/Pokemon.exe.recipe @@ -0,0 +1,11 @@ + + + + + C:\Users\aryan\Desktop\Current Project\Pokemon\Pokemon\x64\Debug\Pokemon.exe + + + + + + \ No newline at end of file diff --git a/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/CL.command.1.tlog b/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/CL.command.1.tlog new file mode 100644 index 00000000..249915f7 Binary files /dev/null and b/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/CL.command.1.tlog differ diff --git a/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/CL.read.1.tlog b/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/CL.read.1.tlog new file mode 100644 index 00000000..343b70b8 Binary files /dev/null and b/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/CL.read.1.tlog differ diff --git a/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/CL.write.1.tlog b/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/CL.write.1.tlog new file mode 100644 index 00000000..14f7db7e Binary files /dev/null and b/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/CL.write.1.tlog differ diff --git a/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/Cl.items.tlog b/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/Cl.items.tlog new file mode 100644 index 00000000..280dc0cb --- /dev/null +++ b/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/Cl.items.tlog @@ -0,0 +1 @@ +C:\Users\aryan\Desktop\Current Project\Pokemon\Pokemon\main.cpp;C:\Users\aryan\Desktop\Current Project\Pokemon\Pokemon\Pokemon\x64\Debug\main.obj diff --git a/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/Pokemon.lastbuildstate b/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/Pokemon.lastbuildstate new file mode 100644 index 00000000..08184449 --- /dev/null +++ b/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/Pokemon.lastbuildstate @@ -0,0 +1,2 @@ +PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.41.34120:TargetPlatformVersion=10.0.22621.0: +Debug|x64|C:\Users\aryan\Desktop\Current Project\Pokemon\Pokemon\| diff --git a/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/link.command.1.tlog b/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/link.command.1.tlog new file mode 100644 index 00000000..4bd90721 Binary files /dev/null and b/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/link.command.1.tlog differ diff --git a/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/link.read.1.tlog b/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/link.read.1.tlog new file mode 100644 index 00000000..c8c1e2b0 Binary files /dev/null and b/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/link.read.1.tlog differ diff --git a/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/link.secondary.1.tlog b/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/link.secondary.1.tlog new file mode 100644 index 00000000..a2b9bf55 --- /dev/null +++ b/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/link.secondary.1.tlog @@ -0,0 +1,2 @@ +^C:\USERS\ARYAN\DESKTOP\CURRENT PROJECT\POKEMON\POKEMON\POKEMON\X64\DEBUG\MAIN.OBJ +C:\Users\aryan\Desktop\Current Project\Pokemon\Pokemon\Pokemon\x64\Debug\Pokemon.ilk diff --git a/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/link.write.1.tlog b/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/link.write.1.tlog new file mode 100644 index 00000000..8cadbff5 Binary files /dev/null and b/Pokemon/Pokemon/x64/Debug/Pokemon.tlog/link.write.1.tlog differ diff --git a/Pokemon/Pokemon/x64/Debug/vc143.idb b/Pokemon/Pokemon/x64/Debug/vc143.idb new file mode 100644 index 00000000..607c47c7 Binary files /dev/null and b/Pokemon/Pokemon/x64/Debug/vc143.idb differ diff --git a/Pokemon/Utility/Utility.cpp b/Pokemon/Utility/Utility.cpp deleted file mode 100644 index 78f90350..00000000 --- a/Pokemon/Utility/Utility.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "Utility.hpp" -#include -#include - -namespace N_Utility { - -void Utility::clearConsole() { -#ifdef _WIN32 - std::system("cls"); -#else - (void)std::system("clear"); -#endif -} - -void Utility::waitForEnter() { std::cin.get(); } - -void Utility::clearInputBuffer() { - std::cin.ignore(std::numeric_limits::max(), '\n'); -} - -} // namespace Utility \ No newline at end of file diff --git a/Pokemon/Utility/Utility.hpp b/Pokemon/Utility/Utility.hpp deleted file mode 100644 index 4263c32d..00000000 --- a/Pokemon/Utility/Utility.hpp +++ /dev/null @@ -1,9 +0,0 @@ -namespace N_Utility { - - class Utility { - public: - static void clearConsole(); - static void waitForEnter(); - static void clearInputBuffer(); // New helper function - }; -} \ No newline at end of file diff --git a/Pokemon/main b/Pokemon/main new file mode 100755 index 00000000..0902fa35 Binary files /dev/null and b/Pokemon/main differ diff --git a/Pokemon/main.cpp b/Pokemon/main.cpp index f41c6342..91177d6e 100644 --- a/Pokemon/main.cpp +++ b/Pokemon/main.cpp @@ -1,29 +1,77 @@ -#include "Main/Game.hpp" -#include "Character/Player/Player.hpp" -#include "Pokemon/PokemonChoice.hpp" -#include "Pokemon/PokemonType.hpp" -#include "Character/ProfessorOak.hpp" -#include "Utility/Utility.hpp" #include -#include // Include this header to use std::numeric_limits #include +using namespace std; int main() { + // Variables to store player name and chosen Pokemon + string player_name; + string chosen_pokemon; - // Continue with the main flow of the game - N_Character::ProfessorOak professor("Professor Oak"); - N_Character::N_Player::Player player; + // Introduction by the Professor + cout << "Professor Oak: Hello there! Welcome to the world of Pokemon!\n"; + cout << "Professor Oak: My name is Oak. People call me the Pokemon " + "Professor!\n"; + cout << "Professor Oak: But enough about me. Let's talk about you!\n"; - // Greet the player and offer Pokemon choices - professor.greetPlayer(player); - professor.offerPokemonChoices(player); + // Taking player name as input + cout << "Professor Oak: First, tell me, what’s your name?\n"; + cin >> player_name; - // Explain the main quest - professor.explainMainQuest(player); + cout << "Professor Oak: Ah, " << player_name + << "! What a fantastic name!\n"; + cout << "Professor Oak: You must be eager to start your adventure. But " + "first, you’ll need a Pokemon of your own!\n"; - // Start the main game loop - N_Main::Game game; - game.gameLoop(player); + // Presenting Pokemon choices + cout << "Professor Oak: I have three Pokemon here with me. They’re all " + "quite feisty!\n"; + cout << "Professor Oak: Choose wisely...\n"; + cout << "1. Charmander - The fire type. A real hothead!\n"; + cout << "2. Bulbasaur - The grass type. Calm and collected!\n"; + cout << "3. Squirtle - The water type. Cool as a cucumber!\n"; - return 0; -} + int choice; + cout << "Professor Oak: So, which one will it be? Enter the number of " + "your choice: "; + cin >> choice; + + // Store the chosen Pokemon based on user input + switch (choice) { + case 1: + chosen_pokemon = "Charmander"; + cout << "Professor Oak: A fiery choice! Charmander is yours!\n"; + break; + + case 2: + chosen_pokemon = "Bulbasaur"; + cout << "Professor Oak: A fine choice! Bulbasaur is always ready to " + "grow on you!\n"; + break; + + case 3: + chosen_pokemon = "Squirtle"; + cout << "Professor Oak: Splendid! Squirtle will keep you cool under " + "pressure!\n"; + break; + + default: + cout << "Professor Oak: Hmm, that doesn't seem right. Let me choose " + "for you...\n"; + chosen_pokemon = "Pikachu"; // Default if no valid choice is made + cout << "Professor Oak: Just kidding! Let's go with Pikachu, the " + "surprise guest!\n"; + break; + } + + // Concluding the first chapter + cout << "Professor Oak: " << chosen_pokemon << " and you, " + << player_name << ", are going to be the best of friends!\n"; + cout << "Professor Oak: Your journey begins now! Get ready to explore " + "the vast world of Pokemon!\n"; + + return 0; + + + + +} \ No newline at end of file