2022-11-14 15:53:50 +00:00
|
|
|
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
|
|
|
2022-11-14 17:42:26 +00:00
|
|
|
#include "EatableItems.h"
|
2022-11-14 15:53:50 +00:00
|
|
|
|
2022-11-14 16:52:57 +00:00
|
|
|
#include "the_twilight_abyss/PlayerTemp/TempCharacter.h"
|
|
|
|
|
2022-11-14 15:53:50 +00:00
|
|
|
|
2022-11-14 17:42:26 +00:00
|
|
|
void UEatableItems::Use(ATempCharacter* Character)
|
2022-11-14 15:53:50 +00:00
|
|
|
{
|
2022-11-14 16:52:57 +00:00
|
|
|
if(Character)
|
|
|
|
{
|
|
|
|
Character->Health += 10;
|
|
|
|
}
|
2022-11-14 15:53:50 +00:00
|
|
|
}
|