Skip to content

Instantly share code, notes, and snippets.

@justonia
Created February 19, 2018 17:23
Show Gist options
  • Save justonia/e4178b9a5662d3f8915ed239e7e3c904 to your computer and use it in GitHub Desktop.
Save justonia/e4178b9a5662d3f8915ed239e7e3c904 to your computer and use it in GitHub Desktop.
public class PositionComponent : IComponent
{
int x;
int y;
}
I change to:
public class PositionComponent : IComponent
{
int y;
int x;
}
All ReplaceComponent calls are logically broken but do not break at compile time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment