Hi,
I've been working through tutorials and samples on tile engines and procedural map generation(dungeon / roguelike) maps/mazes, and am about to embark on a project of my own, using C#4.0 and MonoGame.
I'm wondering whether there is any information on whether it's better to use the classes provided by System.Drawing (Rectangle, Point, PointF etc) for describing my maps (2d arrays, tilesets, passable/impassable maps for feeding an A* algorithm) or if better performance can be gained by writing your own basic geometry model (custom rectangle, vector, point classes etc). I'm thinking methods like Point.GetNeighbours, or Rectangle.Inflate, .Offset etc here, e.g.basic geometric operations on points and regions.
What's the general opinion on this - Use System.Drawing or "roll my own"?
Apologies for the rather open-ended question!
Glen205...