now uses sf::Int32 in EntityState