Mercurial > hg > Members > kazuma > JungleforUnity
annotate Assets/Application/Scripts/FoodItemInfo.cs @ 13:e297afe0889d default tip
Add Prefab.
author | Kazuma Takeda |
---|---|
date | Tue, 07 Feb 2017 20:49:26 +0900 |
parents | |
children |
rev | line source |
---|---|
13 | 1 using System.Collections; |
2 using System.Collections.Generic; | |
3 using UnityEngine; | |
4 | |
5 public class FoodItemInfo : ItemInfo { | |
6 | |
7 public string Type; | |
8 public int Recover = 1; | |
9 public int indexID = 0; | |
10 public int itemID = 1; | |
11 | |
12 public FoodItemInfo (int item_id, int recover, string type) { | |
13 itemID = item_id; | |
14 Recover = recover; | |
15 Type = type; | |
16 } | |
17 } |