Skip to content

Instantly share code, notes, and snippets.

@yairzaslavsky
Created July 30, 2022 20:37
Show Gist options
  • Save yairzaslavsky/b4707e4801ea82d2878fcad6b1edabfe to your computer and use it in GitHub Desktop.
Save yairzaslavsky/b4707e4801ea82d2878fcad6b1edabfe to your computer and use it in GitHub Desktop.
data class Direction(val positionChange: PositionChange, directionType: DirectionType)
val directions = listOf(
Direction(PositionChange(-1,0), DirectionType.LEFT),
..... //TODO: add the other 3 entries
)
val directionsMap = mapOf(
DirectionType.LEFT to PositionChange(-1,0),
...... //TODO: add the other 3 entries
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment