Skip to content

Commit

Permalink
Added getter for character equipment of player.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaeberharter committed Jul 9, 2018
1 parent ddceec9 commit 3e6ad67
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/logic/PlayerController.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,15 @@ namespace Logic
return m_Inventory;
}

/**
*
* @return Character equipment of this player
*/
CharacterEquipment& getCharacterEquipment()
{
return m_CharacterEquipment;
}

/**
* (Un)Equips the item with the given handle
* Note: Be careful that this is actually inside the inventory of the player
Expand Down

0 comments on commit 3e6ad67

Please sign in to comment.