//delete the shape from the render list func UnRegisterForRender(ent entity.Entity) { delete(RenderEntity, ent.Id()) }
//allow a shape to be drawn on the screen func RegisterForRender(ent entity.Entity) { //only adds to the list if if _, found := RenderEntity[ent.Id()]; !found { RenderEntity[ent.Id()] = ent } }