Skip to content

M_WolfCurses_ITick_OnTick

Maxwolf edited this page Jan 2, 2016 · 1 revision

ITick.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#

void OnTick(
	bool systemTick,
	bool skipDay
)

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
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.

Remarks

Default is one second or 1000ms.

Version Information

Wolf Curses

Supported in: 0.1

See Also

Reference

ITick Interface
WolfCurses Namespace

Clone this wiki locally