from core.template import Template
from core.template.animation import Frame, Frames
from siege.util import Vector

echo = Template(name="Glow Bat Echo")

echo.hasPhysics(gravity=Vector())

echo.isProjectile(power=100)

frames = echo.getSpriteFrames(
    frames = [
        Frame(2, 2),
        Frame(2, 37),
        Frame(2, 72),
        Frame(2, 107),
        Frame(2, 142),
        Frame(2, 177)
    ],
    size=(60, 35),
    origin=(0, 17)
)

echo.animations(
    start = 'move',
    move = Frames(frames(), time=100)
)
