Table of Contents

Class MouseClickedEvent

Namespace
BSGameLib.Game.Input
Assembly
BSGameLib.Game.dll

Published when the left button is clicked, with where the click was.

public class MouseClickedEvent : IEvent
Inheritance
MouseClickedEvent
Implements
Inherited Members

Constructors

MouseClickedEvent(Vector2)

Creates the event for a click at position.

public MouseClickedEvent(Vector2 position)

Parameters

position Vector2

Properties

Position

Where the click was, in logical coordinates.

public Vector2 Position { get; }

Property Value

Vector2