Posted 01 July 2014 - 04:52 PM
That's a great question -- it's really good that you're thinking about how the objects relate to each other, and about what information they have available to them.
The Enemy objects need to know where the player is because they move towards him, so their Move() methods need to know the player's location. They'll use the game.PlayerLocation property for that. When the player attacks, the Player object's Attack() method needs to know where the enemies are, so it will use the game.Enemies property to locate them.
I hope this helps!
Author, Head First C#
Building Better Software -- http://www.stellman-greene.com