8 cm( inst, this,
"Entity2D_SimpleView_Item" ),
15 this->img.
filename(
"/CoreModels/Entity2D/SimpleView.png" );
21 iv::FrameUpdateClient( inst ),
23 cm( inst, this,
"Entity2D_SimpleView" ),
24 heap( inst, &this->cm )
33 for(
auto & [ entity, item ] : this->entities )
36 item->position(
iv::float3( pos.x, pos.y, 0.0f ) );
42 if( this->entities.count( entity ) )
50 this->entities[ entity ] = item;
55 auto item = this->entities[ entity ];
58 this->entities.erase( entity );