Esempio n. 1
0
 public override bool CanConvert(NintendoLand.TileTypes.BaseType tileType, NintendoLand.DataFormats.StageData.Stage stage)
 {
     return(tileType is NintendoLand.TileTypes.Bee);
 }
Esempio n. 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);
 }
Esempio n. 3
0
 public virtual bool CanConvert(NintendoLand.TileTypes.BaseType tileType, NintendoLand.DataFormats.StageData.Stage stage)
 {
     return(false);
 }
Esempio n. 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));
 }