Updated TempCharacter

Commented the headerFile for tempcharacter.h
This commit is contained in:
MH261677 2022-11-14 16:58:20 +00:00
parent 83d4d16588
commit 785974e169

View File

@ -11,6 +11,10 @@ class THE_TWILIGHT_ABYSS_API ATempCharacter : public ACharacter
{ {
GENERATED_BODY() GENERATED_BODY()
//Player inventory
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Inventory, meta = (AllowPrivateAccess = "true"))
class UInventoryComponent* Inventory; //Using the InventoryComponent class
public: public:
// Sets default values for this character's properties // Sets default values for this character's properties
ATempCharacter(); ATempCharacter();
@ -41,5 +45,5 @@ public:
//Using the item in the inventory //Using the item in the inventory
UFUNCTION(BlueprintCallable, Category= "Items") UFUNCTION(BlueprintCallable, Category= "Items")
void UseItem(class UBaseItem* Item); void UseItem(class UBaseItem* Item); // Overriding the BaseItem Class
}; };