fixed Player/Entity constructor