Skip to content

Optimization for moving #5

@giovanichaves

Description

@giovanichaves

Why not just using currentCoordinates = positionAfterMove instead of calculating it again?

currentCoordinates = currentCoordinates.newCoordinatesFor(currentDirection.stepSizeForXAxis(), currentDirection.stepSizeForYAxis());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions