Why can’t I do this?
Enemy* enemies[]{
&Enemy{Vector2{(32 * 24), (32 * 24)},goblin_idle,goblin_run},
&Enemy{Vector2{(32 * 50), (32 * 50)},slime_idle,slime_run},
&Enemy{Vector2{(32 * 1), (32 * 35)},goblin_idle,goblin_run},
&Enemy{Vector2{(32 * 75), (32 * 90)},slime_idle,slime_run},
&Enemy{Vector2{(32 * 90), (32 * 40)},goblin_idle,goblin_run}
};
I get the taking address of rvalue [-fpermissive]
error.