Logo
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Yukar.Engine.Touch Class Reference

Touch/mouse input acquisition processing More...

Classes

class  Point
 Input information More...
 

Public Member Functions

Point GetPoint (int inId)
 
List< PointGetPoint ()
 
void updatePoint ()
 
void updateDic ()
 
void updateState ()
 
Point getPointFromIndex (int inIndex=0, int touchIndex=0)
 
bool isTouchPressedFromIndex (int inIndex=0, int touchIndex=0)
 
bool isTouchPressed ()
 
bool isTouchDown ()
 

Static Public Member Functions

static void Initialize (GameMain inGameMain)
 
static void finalize ()
 
static TouchState GetState ()
 
static void SetTouchSlideOrientationIsNone ()
 
static void AddInputDirection (TouchSlideOrientation direction)
 
static void SetActionInputIsNone ()
 
static void AddActionInput (ActionInput action)
 
static void SetAxis (SharpKmyMath.Vector2 axis)
 
static SharpKmyMath.Vector2 GetTouchPosition (int id)
 
static bool IsDown ()
 
static bool IsUp ()
 
static bool IsHold ()
 

Static Public Attributes

static bool RepeatTouchUp = false
 
static bool RepeatTouchDown = false
 
static bool RepeatTouchLeft = false
 
static bool RepeatTouchRight = false
 

Detailed Description

Touch/mouse input acquisition processing

Member Function Documentation

◆ AddActionInput()

static void Yukar.Engine.Touch.AddActionInput ( ActionInput  action)
static

◆ AddInputDirection()

static void Yukar.Engine.Touch.AddInputDirection ( TouchSlideOrientation  direction)
static

◆ finalize()

static void Yukar.Engine.Touch.finalize ( )
static

◆ GetPoint() [1/2]

List< Point > Yukar.Engine.Touch.GetPoint ( )

◆ GetPoint() [2/2]

Point Yukar.Engine.Touch.GetPoint ( int  inId)

◆ getPointFromIndex()

Point Yukar.Engine.Touch.getPointFromIndex ( int  inIndex = 0,
int  touchIndex = 0 
)

◆ GetState()

static TouchState Yukar.Engine.Touch.GetState ( )
static

◆ GetTouchPosition()

static SharpKmyMath.Vector2 Yukar.Engine.Touch.GetTouchPosition ( int  id)
static

◆ Initialize()

static void Yukar.Engine.Touch.Initialize ( GameMain  inGameMain)
static

◆ IsDown()

static bool Yukar.Engine.Touch.IsDown ( )
static

◆ IsHold()

static bool Yukar.Engine.Touch.IsHold ( )
static

◆ isTouchDown()

bool Yukar.Engine.Touch.isTouchDown ( )

◆ isTouchPressed()

bool Yukar.Engine.Touch.isTouchPressed ( )

◆ isTouchPressedFromIndex()

bool Yukar.Engine.Touch.isTouchPressedFromIndex ( int  inIndex = 0,
int  touchIndex = 0 
)

◆ IsUp()

static bool Yukar.Engine.Touch.IsUp ( )
static

◆ SetActionInputIsNone()

static void Yukar.Engine.Touch.SetActionInputIsNone ( )
static

◆ SetAxis()

static void Yukar.Engine.Touch.SetAxis ( SharpKmyMath.Vector2  axis)
static

◆ SetTouchSlideOrientationIsNone()

static void Yukar.Engine.Touch.SetTouchSlideOrientationIsNone ( )
static

◆ updateDic()

void Yukar.Engine.Touch.updateDic ( )

◆ updatePoint()

void Yukar.Engine.Touch.updatePoint ( )

◆ updateState()

void Yukar.Engine.Touch.updateState ( )

Member Data Documentation

◆ RepeatTouchDown

bool Yukar.Engine.Touch.RepeatTouchDown = false
static

◆ RepeatTouchLeft

bool Yukar.Engine.Touch.RepeatTouchLeft = false
static

◆ RepeatTouchRight

bool Yukar.Engine.Touch.RepeatTouchRight = false
static

◆ RepeatTouchUp

bool Yukar.Engine.Touch.RepeatTouchUp = false
static