From 187b067e885fa87edf25e2a17c4323861e20b146 Mon Sep 17 00:00:00 2001 From: Louis Hobbs Date: Mon, 13 Mar 2023 21:45:56 +0000 Subject: [PATCH] Create virtual functions for `CalculateHits` and `ProcessHits` in `NakatomiCharacter` --- Source/Nakatomi/NakatomiCharacter.cpp | 8 ++++++++ Source/Nakatomi/NakatomiCharacter.h | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/Source/Nakatomi/NakatomiCharacter.cpp b/Source/Nakatomi/NakatomiCharacter.cpp index 269b84b..033c8e0 100644 --- a/Source/Nakatomi/NakatomiCharacter.cpp +++ b/Source/Nakatomi/NakatomiCharacter.cpp @@ -207,3 +207,11 @@ int ANakatomiCharacter::GetCurrentInventorySlot() { return CurrentInventorySlot; } + +void ANakatomiCharacter::CalculateHits(TArray* hits) +{ +} + +void ANakatomiCharacter::ProcessHits(TArray* hits) +{ +} diff --git a/Source/Nakatomi/NakatomiCharacter.h b/Source/Nakatomi/NakatomiCharacter.h index 36cbeec..84b4627 100644 --- a/Source/Nakatomi/NakatomiCharacter.h +++ b/Source/Nakatomi/NakatomiCharacter.h @@ -78,4 +78,8 @@ public: void SetCurrentWeapon(AWeapon* weapon); int GetCurrentInventorySlot(); + + virtual void CalculateHits(TArray* hits); + + virtual void ProcessHits(TArray* hits); };