/
domahes
/
Arcade
Обзор
Документация
Войти
/
domahes
/
Arcade
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
js/data/DResAnimFrame.js
33 строки
702 B
domahes
Update game scripts and data configurations
01 июн 2026, 10:11
01 июн 2026, 10:11
83cd2f8
Код
Авторство
О чём код?
/** * Created by Yitian Chen on 2019/3/14. * Key frame animation */ function DResAnimFrame(rd){ //animation this.anims = []; //action list this.actionList = []; //ID this.id = rd.readShort(); //name this.name = rd.readString(); //note this.msg = rd.readString(); //animation location this.point = new DResAnimPoint(rd); //animation file this.file = rd.readString(); //load animation and action list var length = rd.readInt(); for(var i = 0;i<length;i++){ this.anims.push(new DAnimRect(rd)); } length = rd.readInt(); for(i = 0;i<length;i++){ this.actionList.push(new DResAnimFrameAction(rd)); } }