Added direction parameter to movable entity constructor.