Table of Contents

Class VectorControl

Namespace
Termule.Engine.Components
Assembly
Termule.Engine.dll

Control whose value is a Vector derived from the state of four buttons.

public sealed class VectorControl : Control<Vector>, IMessageListener<ButtonDown>, IMessageListener<ButtonUp>, IMessageListener<CharTyped>, IMessageListener<MouseMoved>, IMessageListenerBase
Inheritance
VectorControl
Implements
IMessageListener<ButtonDown>
IMessageListener<CharTyped>
IMessageListener<MouseMoved>
Inherited Members

Constructors

VectorControl(Button, Button, Button, Button)

Control whose value is a Vector derived from the state of four buttons.

public VectorControl(Button posY, Button negX, Button negY, Button posX)

Parameters

posY Button

The button for the positive Y direction.

negX Button

The button for the negative X direction.

negY Button

The button for the negative Y direction.

posX Button

The button for the positive X direction.