added int id to entities in order to begin to turn Entity objects basically into integer ids rather than real objects. the purpose of this change is to enable networked games to communicate about entities easily.