Drag[en]gine Script Module DragonScript  1.21
Dragengine.Scenery.BAAInteract Interface Reference

Interface for interaction support with base actor actions. More...

Public Member Functions

void primaryActionStart ()
 Start primary action. More...
 
void primaryActionStop ()
 Stop primary action. More...
 
void secondaryActionStart ()
 Start secondary action. More...
 
void secondaryActionStop ()
 Stop secondary action. More...
 

Detailed Description

Interface for interaction support with base actor actions.

Implementing actions provide a primary and secondary action.

Primary action is the main action the player can carry out. On a computer this is typically the left mouse button. On touch screen based platforms this is typically a tap motion.

Secondary action is an addtional action the player can carry out. On a computer this is typically the right mouse button. On a touch screen based platform this is typically a press motion.

This interface provides the most basic interaction form and is useful for simple player interactions. For more complex interactions create a custom interface providing the desired interactions.

Member Function Documentation

◆ primaryActionStart()

void Dragengine.Scenery.BAAInteract.primaryActionStart ( )

Start primary action.

◆ primaryActionStop()

void Dragengine.Scenery.BAAInteract.primaryActionStop ( )

Stop primary action.

◆ secondaryActionStart()

void Dragengine.Scenery.BAAInteract.secondaryActionStart ( )

Start secondary action.

◆ secondaryActionStop()

void Dragengine.Scenery.BAAInteract.secondaryActionStop ( )

Stop secondary action.


The documentation for this interface was generated from the following file: