Beispiel #1
0
 public Task <BuildingTemplate> CreateBuildingTemplate(Vector2 position, Func <Vector2, Task <Building> > createBuilding, TimeSpan buildTime, Vector2 size,
                                                       float maxHealth)
 {
     return(AssignPlayer(mExternalFactory.CreateBuildingTemplate(
                             position,
                             createBuilding,
                             buildTime,
                             size,
                             maxHealth
                             )));
 }