Exemple #1
0
 public void BuildSomething()
 {
     RoomManager.Place(
         RoomCreator.Create(Room.TYPE.EMPTY),
         new Vector2Int(x, y)
         );
 }
Exemple #2
0
    public object Clone()
    {
        Room newRoom = RoomCreator.Create(this, scale);


        newRoom.position   = this.position;
        newRoom.components = this.components;
        newRoom.s_id       = this.s_id;

        return(newRoom);
    }