Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackgroundScrollSystem ¶
type BackgroundScrollSystem struct{}
BackgroundScrollSystem handles parallax scrolling effects for backgrounds based on camera movement
func (BackgroundScrollSystem) Run ¶
func (BackgroundScrollSystem) Run(cli coldbrew.LocalClient, scene coldbrew.Scene) error
type CameraBorderLockSystem ¶
type CameraBorderLockSystem struct{}
CameraBorderLockSystem ensures cameras stay within scene boundaries
func (CameraBorderLockSystem) Run ¶
func (sys CameraBorderLockSystem) Run(cli coldbrew.LocalClient, scene coldbrew.Scene) error
Run implements the system that constrains camera movement to scene boundaries
type CameraSceneAssignerSystem ¶
type CameraSceneAssignerSystem struct {
// contains filtered or unexported fields
}
CameraSceneAssignerSystem manages cameras across scenes. It uses the 'CameraIndex' component to determine which cameras should be active. When all scenes are inactive (loading or similar states), the system will only keep the first camera active to display loaders or other UI elements.
type InputBufferSystem ¶
type InputBufferSystem struct{}
InputBufferSystem extracts client inputs and passes them to the core system components as StampedInputs
type SplitScreenLayoutSystem ¶
type SplitScreenLayoutSystem struct {
// contains filtered or unexported fields
}
SplitScreenLayoutSystem manages camera layouts based on resolution, window size and active camera count