public MapManager(ProcessStream stream, MapAssociations mapAssoc, ObjectAssociations objAssoc, MapGui mapGui) { _stream = stream; MapAssoc = mapAssoc; _mapGui = mapGui; _marioMapObj = new MapObject(objAssoc.MarioMapImage, 1); _marioMapObj.UsesRotation = true; _holpMapObj = new MapObject(objAssoc.HolpImage, 2); _cameraMapObj = new MapObject(objAssoc.CameraMapImage, 1); _cameraMapObj.UsesRotation = true; _floorTriangleMapObj = new TriangleMapObject(Color.FromArgb(200, Color.Yellow), 3); }
public MapManager(MapAssociations mapAssoc, MapGui mapGui) { MapAssoc = mapAssoc; _mapGui = mapGui; _marioMapObj = new MapObject(Config.ObjectAssociations.MarioMapImage, 1); _marioMapObj.UsesRotation = true; _holpMapObj = new MapObject(Config.ObjectAssociations.HolpImage, 2); _intendedNextPositionMapObj = new MapObject(Config.ObjectAssociations.IntendedNextPositionImage, 2); _intendedNextPositionMapObj.UsesRotation = true; _cameraMapObj = new MapObject(Config.ObjectAssociations.CameraMapImage, 1); _cameraMapObj.UsesRotation = true; _floorTriangleMapObj = new TriangleMapObject(Color.FromArgb(200, Color.Cyan), 3); _ceilingTriangleMapObj = new TriangleMapObject(Color.FromArgb(200, Color.Red), 2); }