Interface ITouchable
Interface for touchables.
Namespace: Evergine.Common.Input
Assembly: Evergine.Common.dll
Syntax
public interface ITouchable
Properties
IsActive
Gets a value indicating whether this instance is active.
Declaration
bool IsActive { get; }
Property Value
Type | Description |
---|---|
bool |
|
ManualTouchOrder
Gets or sets a value indicating whether [manual touch order].
Declaration
bool ManualTouchOrder { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
TouchOrder
Gets the touch order.
Declaration
int TouchOrder { get; }
Property Value
Type | Description |
---|---|
int |
Methods
AddTouch(TouchLocation, bool)
Adds the touch.
Declaration
void AddTouch(TouchLocation touch, bool isNew)
Parameters
Type | Name | Description |
---|---|---|
TouchLocation | touch | The touch. |
bool | isNew | if set to |
Contains(Vector2)
Determines whether [contains] [the specified point].
Declaration
bool Contains(Vector2 point)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | point | The point. |
Returns
Type | Description |
---|---|
bool |
|
UpdateTouchOrder()
Updates the touch order.
Declaration
void UpdateTouchOrder()
Events
TouchOrderChanged
Occurs when [touch order changed].
Declaration
event EventHandler TouchOrderChanged
Event Type
Type | Description |
---|---|
EventHandler |