πŸ“¦ JEMovementSystem

Technical reference for the JEMovementSystem class of JarEngine.

Inherit from β€’>JEInternSystems<β€’πŸ“Ž

⚠️ Internal Class Warning

This class is part of JarEngine’s internal architecture and is not intended for normal user usage.

Direct usage or modification may break engine behavior. Use only when creating advanced extensions, custom systems, or engine-level features.


πŸ”Ή Overview

JEMovementSystem is responsible for updating the movement logic of entities.

Provides:

  • Entity movement processing through the JarEngine system architecture.
  • Automatic integration with the game update cycle.
  • Access to entity containers and timing information.

Internal system used by the engine to process movement-related behavior on entities during the update phase. It extends JEInternSystems and follows the ECS (Entity Component System) architecture of JarEngine.


πŸ”Ή Location

JarEngine
β”‚
β”œβ”€β”€ systems
β”‚     └── JEMovementSystem
β”‚
└── ...

πŸ”Ή Data

No public data nor property


πŸ”Ή API

Function Arguments Returns Description
__init__ owner: JEGame Β  Creates a movement system attached to a game instance.
update window: JEWindow, entity: JEEntity, entities: JEContainer[JEEntity], dt: float Β  Updates the movement of an entity during the game update cycle.

πŸ”Ή Usage

from jarengine import Games

game = Games.JEGame()

movement_system = Games.Systems.JEMovementSystem(game)

game.add_system(movement_system)