-
Notifications
You must be signed in to change notification settings - Fork 0
Player.h
b3ngr33ni3r edited this page Dec 8, 2011
·
8 revisions
WORK IN PROGRESS*****
**
Contains all things pertaining to Player.
right now, we've only really got the Inventory and Selected in there.
===
Player
Inventory Items;
Selected Equipped;
====
Make an inventory call,
Player.Items.Add(sf::Drawable*);
Player.Items.Print();
===
Get Equipped gun damage,
Player.Select.Equipped("Incinerator Sniper")->Damage; //Damage is an int
or
Player.Select.Equipped("Weapon")->Damage; // If Incinerator Sniper is the Equipped Weapon