//GUITEXT class guitext : public entity { public: guitext(graphics *gfx, std::string _text, float _x, float _y, float _size, float timeToLive); bool upd
You're storing Entitys, not pointers to objects of varying derived types of Entity.
Entity