Full frame logic, executed even if the display is not visible

This method wraps frame_core and other services to be executed in the main app loop.

To customize the behavior on each turn, it is preferable to redefined frame_core. Still, frame_full can be redefined with care for more control.

Property definitions

gamnit :: gamnit $ App :: frame_full
	# Full frame logic, executed even if the display is not visible
	#
	# This method wraps `frame_core` and other services to be executed in the main app loop.
	#
	# To customize the behavior on each turn, it is preferable to redefined `frame_core`.
	# Still, `frame_full` can be redefined with care for more control.
	protected fun frame_full
	do
		var display = display
		if display != null then frame_core(display)

		feed_events
	end
lib/gamnit/gamnit.nit:76,2--88,4

gamnit :: limit_fps $ App :: frame_full
	redef fun frame_full
	do
		super
		limit_fps
	end
lib/gamnit/limit_fps.nit:35,2--39,4