add functions in myscene.m, add a enum in myscene.h