Files
brickcraft/Assets/Scripts/BrickModel.cs
2020-12-28 14:25:23 +01:00

19 lines
566 B
C#

using System.Collections.Generic;
using UnityEngine;
namespace Brickcraft
{
public class BrickModel
{
public enum Category {
Brick = 1,
Plate = 2
};
public int type;
public int heightInPlates;
public Category category;
public Vector3 pivot = Vector3.zero; // the point from where we will rotate/place it
public float hardness = 4; //seconds with bare hands
public Dictionary<int, Dictionary<int, int[]>> studs = new Dictionary<int, Dictionary<int, int[]>>();
}
}