/*
* author: ryan lin, mark joshwel
* date: 15/08/2024
* description: common vehicular behaviour
*/
using UnityEngine;
///
/// logic to move a vehicle to a target position
///
public class CommonVehicle : MonoBehaviour
{
///
/// game object that the vehicle is moving towards
///
[SerializeField] private GameObject targetWaypoint;
///
/// enum of states that the vehicle can be in
///
private enum State
{
Stopped,
Slowed,
Driving
}
}