File WfBasicSword.c

FileList > game > src > items > WfBasicSword.c

Go to the source code of this file

  • #include "WfBasicSword.h"
  • #include "WfItem.h"
  • #include "WfPlayer.h"
  • #include "Entities.h"
  • #include <stdlib.h>

Public Functions

Type Name
void WfBasicSwordOnMakeCurrentItem (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer)
void WfBasicSwordOnStopBeingCurrentItem (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer)
bool WfBasicSwordOnUseItem (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer)

Public Functions Documentation

function WfBasicSwordOnMakeCurrentItem

void WfBasicSwordOnMakeCurrentItem (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer
) 

function WfBasicSwordOnStopBeingCurrentItem

void WfBasicSwordOnStopBeingCurrentItem (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer
) 

function WfBasicSwordOnUseItem

bool WfBasicSwordOnUseItem (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer
) 


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