void initFish(string animation, EbVector3 offset, float angle_speed, float layer_offset, ISpriteFish sprite_fish) { SpriteAndOffset sprite_offset = new SpriteAndOffset(mScene.getRenderObjectPool().newFishStillSprite(), EbVector3.Zero, angle_speed, layer_offset); sprite_offset.mFishStillSprite.init(sprite_fish, mScene); sprite_offset.mFishStillSprite.playAnimation(animation); mSprite.Add(sprite_offset); }