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:
parent
3f6eae6bfc
commit
5096e65fc7
3 changed files with 3 additions and 0 deletions
|
@ -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) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue