KeyboardState.op_Equality Method
Compares two objects to determine whether they are the same.
Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
public static bool op_Equality ( KeyboardState a, KeyboardState b )
Parameters
- a
- Type: KeyboardState
Object to the left of the equality operator. - b
- Type: KeyboardState
Object to the right of the equality operator.
Return Value
true if the objects are the same; false otherwise.