HI I have it now like this. With the Move and Player class.
for testing I put the move Method also in the Player class.
But the Player doesnt move.
Update Move player with Move Class
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

FroglegRank #1,020 · 1.9K reputationPosted Feb 8, 2012, 11:20 PM EST
public Point playerMove(Mover.Direction direction,Rectangle boundaries,Point location)
{
player.Move(direction,boundaries,location);//Moves the player
//Console.WriteLine(location);
return location;// you returned original location
}
should be
public Point playerMove(Mover.Direction direction,Rectangle boundaries,Point location)
{
Point p;
p = player.Move(direction,boundaries,location);//Moves the player
//Console.WriteLine(location);
return p;
}
albert albertRank #2,683 · 519 reputationPosted Feb 8, 2012, 11:26 PM EST
stupid of me that I forgot to past the Point variable to the Move method.
This works ofcourse. To past directly the parameter location to the Move method;
[code]
public Point MovePlayer(Mover.Direction direction,Rectangle boundaries,Point location)
{
//boundaries = new Rectangle(0, 0, 600, 600);
//Point p;
location = player.Move(direction,boundaries,location);//Moves the player
Console.WriteLine(location);
return location;
}
[/code]