01.05.2013, 19:41
Quote:
No real need for that since if they're not in an area it will only do two if statements although if they're in an area that is not an area that you can enter a building say it's a drop point then you'd have to weigh the trade off between checking through your foreach iterator vs doing the switch I think overall you'd actually be better off leaving it out since if your in an area that you can enter a building you wouldn't need to check the foreach iterator and still have to do the switch() anyways unless I'm missing something about your idea.
|