Sander Mertens
1 min readAug 13, 2020

--

If you'd like to query the state for just one pawn, then you can just use pawn.get_case(switch);

--

--

Sander Mertens

Author of Flecs, an Entity Component System for C and C++