aboutsummaryrefslogtreecommitdiffstats
path: root/inc/Item.inc
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2016-05-08 20:39:15 +0200
committerpiernov <piernov@piernov.org>2016-05-08 20:39:15 +0200
commit07f9658d2fecc5f88cc27fba8502246a30d8fdc0 (patch)
treebefcdc30b6a093372a356e96d5073a2b961b2379 /inc/Item.inc
parentfaefddcb8b3d3ac491331b702f8a8ac6fe58a894 (diff)
downloadcandybox-07f9658d2fecc5f88cc27fba8502246a30d8fdc0.tar.gz
candybox-07f9658d2fecc5f88cc27fba8502246a30d8fdc0.tar.bz2
candybox-07f9658d2fecc5f88cc27fba8502246a30d8fdc0.tar.xz
candybox-07f9658d2fecc5f88cc27fba8502246a30d8fdc0.zip
Add @package and various fixes
Diffstat (limited to 'inc/Item.inc')
-rw-r--r--inc/Item.inc11
1 files changed, 6 insertions, 5 deletions
diff --git a/inc/Item.inc b/inc/Item.inc
index 4ec984f..404c46b 100644
--- a/inc/Item.inc
+++ b/inc/Item.inc
@@ -5,33 +5,34 @@ require_once("perso.inc");
/**
* Represent an Item in the shop or in the Inventory.
*
+ * @package inc\Item.inc
* @author Alexandre Renoux
* @author Pierre-Emmanuel Novac
*/
class Item {
/**
- * Name of the item.
+ * @var string Name of the item.
*/
public $name = "";
/**
- * Item's cost.
+ * @var int Item's cost.
*/
public $cost = 0;
/**
- * Item's icon.
+ * @var string Item's icon.
*/
public $icon = "";
/**
- * Item's description.
+ * @var string Item's description.
*/
public $desc = "";
/**
- * Item's features as an associative array
+ * @var array Item's features as an associative array
*/
public $feat = array();