Open bpetetot opened 7 years ago
state.js
Entity
Each entity (by instance player/lobby
) has theses files :
The abstract of entity.js will glue all parts.
If there is a need of common implementation, by instance player/lobby
has sames physics that player/game
:
Player/lobby/physics.js
export default from '../game/physics.js'