annotate Assets/Application/Scripts/BoxItemInfo.cs @ 13:e297afe0889d default tip

Add Prefab.
author Kazuma Takeda
date Tue, 07 Feb 2017 20:49:26 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
1 ´╗┐using System.Collections;
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
2 using System.Collections.Generic;
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
3 using UnityEngine;
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
4
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
5 public class BoxItemInfo : ItemInfo {
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
6
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
7 public string Type;
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
8 public int Broken = 2;
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
9 public int indexID = 0;
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
10 public int itemID = 1;
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
11 public string ColorCode = "";
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
12
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
13 public BoxItemInfo (int item_id, int broken, string type, string code) {
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
14 itemID = item_id;
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
15 this.Broken = broken;
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
16 Type = type;
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
17 ColorCode = code;
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
18 }
e297afe0889d Add Prefab.
Kazuma Takeda
parents:
diff changeset
19 }