Пример #1
0
 public override bool CanConvert(NintendoLand.TileTypes.BaseType tileType, NintendoLand.DataFormats.StageData.Stage stage)
 {
     return(tileType is NintendoLand.TileTypes.Bee);
 }
Пример #2
0
 public override bool CanConvert(NintendoLand.TileTypes.BaseType tileType, NintendoLand.DataFormats.StageData.Stage stage)
 {
     return(tileType is PepperOrSwitch switchObject &&
            stage.switchOrPepperDefinitions[switchObject.Index - 1] == NintendoLand.DataFormats.StageData.Stage.PepperOrSwitchFlag.Switch);
 }
Пример #3
0
 public virtual bool CanConvert(NintendoLand.TileTypes.BaseType tileType, NintendoLand.DataFormats.StageData.Stage stage)
 {
     return(false);
 }
Пример #4
0
 public override bool CanConvert(NintendoLand.TileTypes.BaseType tileType, NintendoLand.DataFormats.StageData.Stage stage)
 {
     return(tileType is NintendoLand.TileTypes.PepperOrSwitch pepper && (stage.switchOrPepperDefinitions[pepper.Index - 1] == NintendoLand.DataFormats.StageData.Stage.PepperOrSwitchFlag.Pepper));
 }