Create virtual functions for `CalculateHits` and `ProcessHits` in `NakatomiCharacter`

This commit is contained in:
Louis Hobbs 2023-03-13 21:45:56 +00:00
parent ba6c614116
commit 187b067e88
2 changed files with 12 additions and 0 deletions

View File

@ -207,3 +207,11 @@ int ANakatomiCharacter::GetCurrentInventorySlot()
{
return CurrentInventorySlot;
}
void ANakatomiCharacter::CalculateHits(TArray<FHitResult>* hits)
{
}
void ANakatomiCharacter::ProcessHits(TArray<FHitResult>* hits)
{
}

View File

@ -78,4 +78,8 @@ public:
void SetCurrentWeapon(AWeapon* weapon);
int GetCurrentInventorySlot();
virtual void CalculateHits(TArray<FHitResult>* hits);
virtual void ProcessHits(TArray<FHitResult>* hits);
};