zllangct / ecs

A Go-implementation of the ECS (Entity-Component-System), focus on the development of game server.
BSD 3-Clause "New" or "Revised" License
132 stars 10 forks source link

Example interaction with player #7

Open cchandel opened 2 years ago

cchandel commented 2 years ago

Hi, I want to call the inventory system only when the user wants to see what weapons he has etc.

How can a system be called / component data be accessed based on user interaction?

Thanks