I want to make 4 functions for vehicle. Help me

just make an enum and add a switch on the input