public System.Collections.Generic.Dictionary <Vector2, Skid> SkidMarks; // <Vector2> offset, <Skid> skid info public UnitType(string spriteName) { // this can stay here instead of References.cs since it is loaded on launch time SpriteTexture = ResourceLoader.Load <Texture>(Vars.path_sprites + $"/units/{spriteName}"); SpriteTexture.Flags = 1; Id = UnitTypes.Count; UnitTypes.Add(UnitTypes.Count, this); }