Skip to content

Commit 3e6ad67

Browse files
committed
Added getter for character equipment of player.
1 parent ddceec9 commit 3e6ad67

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/logic/PlayerController.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,15 @@ namespace Logic
172172
return m_Inventory;
173173
}
174174

175+
/**
176+
*
177+
* @return Character equipment of this player
178+
*/
179+
CharacterEquipment& getCharacterEquipment()
180+
{
181+
return m_CharacterEquipment;
182+
}
183+
175184
/**
176185
* (Un)Equips the item with the given handle
177186
* Note: Be careful that this is actually inside the inventory of the player

0 commit comments

Comments
 (0)