class_name Spec
extends RefCounted

enum Level {
	LOW = 1,
	MEDIUM = 2,
	HIGH = 3,
}

enum Type {
	MAX_SPEED,
	ACCELERATION,
	BRAKE_DECELERATION,
	CONTROL,
}

const SPECS: Dictionary = {
	Type.MAX_SPEED: {
		Level.LOW: 120.0,
		Level.MEDIUM: 135.0,
		Level.HIGH: 150.0,
	},
	Type.ACCELERATION: {
		Level.LOW: 40.0,
		Level.MEDIUM: 80.0,
		Level.HIGH: 120.0,
	},
	Type.BRAKE_DECELERATION: {
		Level.LOW: 90.0,
		Level.MEDIUM: 130.0,
		Level.HIGH: 170.0,
	},
	Type.CONTROL: {
		Level.LOW: 50.0,
		Level.MEDIUM: 60.0,
		Level.HIGH: 70.0,
	},
}
