try Move
Tries to move an existing GameEntity in the specified Direction by one Cell.
The entity is allowed to move if and only if after such move all its units would end up:
in bounds of the grid
on cells that don't already contain any incompatible cells as defined by entity's GameEntity.PhysicalEntity.
If both conditions are satisfied, all of entity's units are moved. It is guaranteed that during the move all cells involved will not be changed in any way.
In any case, entity will also receive a CollidedWith message for each its unit that collided with another unit (that is, a unit which either ended up or would have ended up on a cell, where there are units of another GameEntity). There will be a message for each pair of collided units. Another entity will receive a similar CollidedWith message as well.
Return
true if the entity was moved, false otherwise.
Parameters
The entity to move. Must have been added to this PhysicsEngine grid beforehand, otherwise behaviour is undefined.
Direction to move the entity in.