A 2D Farming RPG
This is just a simple 2D farming RPG game
Loading...
Searching...
No Matches
Item Class Reference
Inheritance diagram for Item:
Inheritance graph
Collaboration diagram for Item:
Collaboration graph

Public Member Functions

void Init (int itemCode)
 At the start if we have a reapable item, we add the item nudge class. More...
 

Properties

int ItemCode [get, set]
 

Private Member Functions

void Awake ()
 
void Start ()
 

Private Attributes

int m_ItemCode
 
SpriteRenderer m_SpriteRenderer
 

Detailed Description

Definition at line 3 of file Item.cs.

Member Function Documentation

◆ Awake()

void Item.Awake ( )
inlineprivate

Definition at line 13 of file Item.cs.

◆ Init()

void Item.Init ( int  itemCode)
inline

At the start if we have a reapable item, we add the item nudge class.

Parameters
itemCode

Definition at line 31 of file Item.cs.

Here is the caller graph for this function:

◆ Start()

void Item.Start ( )
inlineprivate

Definition at line 18 of file Item.cs.

Here is the call graph for this function:

Field Documentation

◆ m_ItemCode

int Item.m_ItemCode
private

Definition at line 7 of file Item.cs.

◆ m_SpriteRenderer

SpriteRenderer Item.m_SpriteRenderer
private

Definition at line 9 of file Item.cs.

Property Documentation

◆ ItemCode

int Item.ItemCode
getset

Definition at line 11 of file Item.cs.


The documentation for this class was generated from the following file: