view Assets/Application/Scripts/ItemInfo.cs @ 11:cf20add31466

change putAttribute -> use fmap.
author Kazuma Takeda
date Sat, 28 Jan 2017 19:15:44 +0900
parents 3fefb9f9025d
children b55d586dd4eb
line wrap: on
line source

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ItemInfo {

	public string Type;
	public int Broken = 2;
	private int nowBroken = 2;
	public int indexID = 0;
	public int itemID = 1;
	public string ColorCode = "";

	public ItemInfo (int item_id, int broken, string type, string code) {
		itemID      = item_id;
		this.Broken = broken;
		nowBroken   = Broken;
		Type = type;
		ColorCode = code;
	}
}