Commit 0dd29310 authored by NicolaiO's avatar NicolaiO 🐼 Committed by TIGERs GitLab
Browse files

Resolve "Defense v2"

Closes #1694

See merge request main/Sumatra!1461

sumatra-commit: 4a62bcf06d97d3e826230d7067b02bf8f033c531
parent b64603df
Pipeline #17541 passed with stage
in 4 minutes and 21 seconds
......@@ -8,5 +8,19 @@ public enum ERotationDirection
{
NONE,
CLOCKWISE,
COUNTER_CLOCKWISE
COUNTER_CLOCKWISE;
public ERotationDirection opposite()
{
switch (this)
{
case CLOCKWISE:
return COUNTER_CLOCKWISE;
case COUNTER_CLOCKWISE:
return CLOCKWISE;
default:
return NONE;
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment