Mock touch device for unit testing.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Entities UpdateBehavior
DeltaEngine.Input InputDevice
DeltaEngine.Input Touch
DeltaEngine.Input.Mocks MockTouch
Namespace: DeltaEngine.Input.Mocks
Assembly: DeltaEngine.Input.Mocks (in DeltaEngine.Input.Mocks.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The MockTouch type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MockTouch | Initializes a new instance of the MockTouch class |
Methods
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the MockTouch (Overrides InputDevice Dispose .) | |
GetPosition | (Overrides Touch GetPosition(Int32).) | |
GetState | (Overrides Touch GetState(Int32).) | |
SetTouchState | ||
Update | (Inherited from Touch.) |
Properties
Name | Description | |
---|---|---|
IsAvailable | (Overrides InputDevice IsAvailable.) |
See Also