mPlayerIndex = playerIndex;\r
\r
// Speed is the number of grid cells you can move through per second.\r
- mMotion = new MovementManager(position, 4.0f);\r
+ mMotion = new MovementManager(position, 25.0f);\r
}\r
public void causeDamageTo(int amount)\r
{\r
bool moveUp = keysPressed.Contains(Keys.Up);\r
bool moveDown = keysPressed.Contains(Keys.Down);\r
\r
- List<Point> possibleDestinations = new List<Point>();\r
+ List<Point> possibleDestinations = new List<Point>(3);\r
possibleDestinations.Add(MovementManager.GetNeighbor(mMotion.Coordinates, moveLeft, moveRight, moveUp, moveDown));\r
possibleDestinations.AddRange(MovementManager.GetNeighbors(mMotion.Coordinates, possibleDestinations[0]));\r
\r