1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-15 14:54:09 +02:00

More commutable attributes

This commit is contained in:
Brian Fiete 2020-12-04 14:10:42 -08:00
parent 3f6eae6bfc
commit 5096e65fc7
3 changed files with 3 additions and 0 deletions

View file

@ -15,6 +15,7 @@ namespace IDE
return (int)mKeyCode | (int)mKeyFlags << 16;
}
[Commutable]
public static bool operator==(KeyState val1, KeyState val2)
{
return (val1.mKeyCode == val2.mKeyCode) &&