MockTouch ClassDelta Engine Documentation
Mock touch device for unit testing. View code on GitHub
Inheritance Hierarchy

System Object
  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

public sealed class MockTouch : Touch

The MockTouch type exposes the following members.

Constructors

  NameDescription
Public methodMockTouch
Initializes a new instance of the MockTouch class
Top
Methods

  NameDescription
Public methodDispose
Releases all resources used by the MockTouch
(Overrides InputDevice Dispose .)
Public methodGetPosition (Overrides Touch GetPosition(Int32).)
Public methodGetState (Overrides Touch GetState(Int32).)
Public methodSetTouchState
Public methodUpdate (Inherited from Touch.)
Top
Properties

  NameDescription
Public propertyIsAvailable (Overrides InputDevice IsAvailable.)
Top
See Also