refractor

update -> runBase
paint -> drawStatic
[fix] kill player before PLAYER_DEAD event