예제 #1
0
    public static Buildable BuildInstance(Buildable prototype, GameTile tile)
    {
        if (prototype == null || tile == null)
        {
            return(null);
        }

        Buildable newBuildable = new Buildable(prototype);

        tile.AddBuildable(newBuildable);
        return(newBuildable);
    }