Beispiel #1
0
 /// <inheritdoc />
 protected override LevelLogicInstancePlugin GetPlugin(LevelManager level)
 {
     return(LevelRep.LevelLogicType.CreateInstancePluginForBrandNewLevel(level));
 }
Beispiel #2
0
 /// <inheritdoc />
 protected override LevelLogicInstancePlugin GetPlugin(LevelManager level)
 {
     //Loading saved level prototype, so i need to load it
     return(LevelRep.LevelLogicType.CreateInstancePluginForEditorLoading(level));
 }
Beispiel #3
0
 /// <summary>
 /// Gets instance plugin of the level logic for the <paramref name="level"/>.
 /// </summary>
 /// <param name="level">The level to get the instance plugin for.</param>
 /// <returns>Instance plugin to control the <paramref name="level"/>.</returns>
 protected abstract LevelLogicInstancePlugin GetPlugin(LevelManager level);