Skip to content

M_WolfCurses_SimulationApp_OnTick

Maxwolf edited this page Jan 2, 2016 · 1 revision

SimulationApp.OnTick Method

Called when the simulation is ticked by underlying operating system, game engine, or potato. Each of these system ticks is called at unpredictable rates, however if not a system tick that means the simulation has processed enough of them to fire off event for fixed interval that is set in the core simulation by constant in milliseconds.

Namespace: WolfCurses
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public void OnTick(
	bool systemTick,
	bool skipDay = false
)

Parameters

 

systemTick
Type: System.Boolean
TRUE if ticked unpredictably by underlying operating system, game engine, or potato. FALSE if pulsed by game simulation at fixed interval.
skipDay (Optional)
Type: System.Boolean
Determines if the simulation has force ticked without advancing time or down the trail. Used by special events that want to simulate passage of time without actually any actual time moving by.

Implements

ITick.OnTick(Boolean, Boolean)

Remarks

Default is one second or 1000ms.

Version Information

Wolf Curses

Supported in: 0.1

See Also

Reference

SimulationApp Class
WolfCurses Namespace

Clone this wiki locally