C# What sort of data structure for this

dal

dal

Associate
Joined
10 Sep 2005
Posts
905
Location
Lincolnshire
Hi all, I've got some data that I want to group together like in the image below.
So hopefully it's clear how I want the data set out, "JUNCTION" could be considered the main item, maybe a class with a list of taxi's, each taxi would contain aircraft size(string or enum), entry ( int ),Exit (int)

I will likely want to access data in the folowing way.

Medium aircraft would need to know Entry and exit numbers for taxi 1
A few things to note :
1. Occasionally the entry/ exit numbers could change
2. Somtimes another taxi would be added or one might be removed.

Thanks.



MON0pGQ.png
 
Thanks, I'm not really familiar with databases, would this be a seperate file that my code links to ? How would I go about implementing that.

EDIT : I should have added that the data will be local. It's for use in Unity.

Cheers
 
Back
Top Bottom