File WfWoodItem.c

FileList > game > src > items > WfWoodItem.c

Go to the source code of this file

  • #include "WfWoodItem.h"
  • #include "WfItem.h"
  • #include <stdlib.h>

Public Static Attributes

Type Name
struct WfItemDef gDef = /* multi line expression */

Public Functions

Type Name
void WfAddWoodItemDef ()

Public Static Functions

Type Name
void OnMakeCurrentItem (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer)
void OnStopBeingCurrentItem (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer)
bool OnUseItem (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer)
bool ProcessAxeUsage (struct SDTimer * pTimer)
bool TryEquip (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer, enum WfEquipSlot slot)

Public Static Attributes Documentation

variable gDef

struct WfItemDef gDef;

Public Functions Documentation

function WfAddWoodItemDef

void WfAddWoodItemDef () 

Public Static Functions Documentation

function OnMakeCurrentItem

static void OnMakeCurrentItem (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer
) 

function OnStopBeingCurrentItem

static void OnStopBeingCurrentItem (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer
) 

function OnUseItem

static bool OnUseItem (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer
) 

function ProcessAxeUsage

static bool ProcessAxeUsage (
    struct SDTimer * pTimer
) 

function TryEquip

static bool TryEquip (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer,
    enum WfEquipSlot slot
) 


The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/game/src/items/WfWoodItem.c