Which is more efficient, Creating an image, Or creating an Obj to make an effect, For example
Code:
mob
verb
Test_Img()
var/image/I = image('Hitspark.dmi',usr,icon_state ="hit")
world << I
spawn(3)
del(I)
Test_Obj()
var/obj/Test/A = new
A.loc = locate(usr.x,usr.y,usr.z)
flick("Hit",A)
del(A)
Again my question would be which is more, efficient for an effect that will be used.. Frequently.
Or if there is a more efficient way to do either please inform. Thank you in advance.