public void FlowerMode() { Debug.LogWarning("Your Mario has changed to Flower Mode!"); _jumpBehaviour = new MarioJumpBehaviourFlower(); _fireBehaviour = new MarioFireBehaviourFlower(); _rollBehaviour = new MarioRollBehaviourFlower(); _crouchBehaviour = new MarioCrouchBehaviourFlower(); }
public void SquarrelMode() { Debug.LogWarning("Your Mario has changed to Squarrel Mode!"); _jumpBehaviour = new MarioJumpBehaviourSquarrel(); _fireBehaviour = new MarioFireBehaviourSquarrel(); _rollBehaviour = new MarioRollBehaviourSquarrel(); _crouchBehaviour = new MarioCrouchBehaviourSquarrel(); }
private void Start() { Debug.Log("<color=#00FF00>########### Super Mario Bros. ###########</color>"); Debug.LogWarning("Your Mario is small mode"); _jumpBehaviour = new MarioJumpBehaviourSmall(); _fireBehaviour = new MarioFireBehaviourSmall(); _rollBehaviour = new MarioRollBehaviourSmall(); _crouchBehaviour = new MarioCrouchBehaviourSmall(); }