Oakfolks Gold_1.14
Oakfolks coop game
|
Wood resource object that can be picked up by players. More...
#include <AWood.h>
Public Member Functions | |
AAWood () | |
Initializes the wood object with default settings. | |
virtual void | BeginPlay () override |
Called when the wood object is spawned in the world. | |
virtual void | Tick (float DeltaTime) override |
Updates the wood object each frame. | |
![]() | |
void | PickedUp (AActor *Player, AActor *Object) |
virtual void | PickedUp_Implementation (AActor *Player, AActor *Object) |
Default implementation for pickup behavior. | |
void | Drop (AActor *Player, AActor *Object) |
Drop interaction. | |
virtual void | Drop_Implementation (AActor *Player, AActor *Object) |
Default implementation for drop behavior. | |
Wood resource object that can be picked up by players.
Basic pickable wood item implementing the IPickable interface
AAWood::AAWood | ( | ) |
Initializes the wood object with default settings.
Sets up tick functionality and pickable properties
|
overridevirtual |
Called when the wood object is spawned in the world.
Performs initialization logic for the wood resource
|
overridevirtual |
Updates the wood object each frame.
Handles any per-frame logic for the wood resource
DeltaTime | Time elapsed since the last frame in seconds |