public void SetFrictionForTile(int X, int Y, int Z, FrictionValue val) { if (isOnGrid(X, Y, Z)) { _tile [X, Y, Z].Friction = val; } }
public Tile(GameObject obj, IVector3 pos) { _position = pos; _itemType = Item.EMPTY; _itemAttached = null; _obj = obj; _frictionVal = FrictionValue.LOW; _direction = ItemDirection.LEFT; }