public override GameObject CreateLever(PointF p, ISwitchable obj, bool isOn = false, float size = 1.0f) { RogueLever rl = new RogueLever(p, obj, isOn, size); AddGameObject(rl); return(rl); }
public override GameObject CreateLever(PointF p, bool isOn = false, float size = 1.0f) { RogueLever rl = new RogueLever(p, scale: size); AddGameObject(rl); return(rl); }
public override GameObject CreateLever(PointF p, ISwitchable obj, bool isOn = false, float size = 1.0f) { RogueLever rl = new RogueLever(p, obj, isOn, size); AddGameObject(rl); return rl; }
public override GameObject CreateLever(PointF p, bool isOn = false, float size = 1.0f) { RogueLever rl = new RogueLever(p, scale: size); AddGameObject(rl); return rl; }