12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229 |
- // ---------------------------------------
- // Sprite definitions for tileMatch_ui
- // Generated with TexturePacker 7.1.0
- //
- // https://www.codeandweb.com/texturepacker
- // ---------------------------------------
- #include "tileMatch_ui.hpp"
- USING_NS_CC;
- namespace TexturePacker
- {
- void TileMatch_ui::addSpriteFramesToCache()
- {
- SpriteFrameCache *cache = SpriteFrameCache::getInstance();
- cache->addSpriteFramesWithFile("tileMatch_ui.plist");
- };
- void TileMatch_ui::removeSpriteFramesFromCache()
- {
- SpriteFrameCache *cache = SpriteFrameCache::getInstance();
- cache->removeSpriteFramesFromFile("tileMatch_ui.plist");
- };
- // ---------------------
- // sprite name constants
- // ---------------------
- const std::string TileMatch_ui::claw_1 = "claw_1.png";
- const std::string TileMatch_ui::claw_1_2 = "claw_1_2.png";
- const std::string TileMatch_ui::claw_2 = "claw_2.png";
- const std::string TileMatch_ui::claw_3 = "claw_3.png";
- const std::string TileMatch_ui::claw_4 = "claw_4.png";
- const std::string TileMatch_ui::claw_5 = "claw_5.png";
- const std::string TileMatch_ui::claw_fly_01 = "claw_fly_01.png";
- const std::string TileMatch_ui::claw_fly_19 = "claw_fly_19.png";
- const std::string TileMatch_ui::claw_fly_21 = "claw_fly_21.png";
- const std::string TileMatch_ui::claw_fly_25 = "claw_fly_25.png";
- const std::string TileMatch_ui::claw_fly_26 = "claw_fly_26.png";
- const std::string TileMatch_ui::claw_fly_efc = "claw_fly_efc.png";
- const std::string TileMatch_ui::g_bg_down_dark = "g_bg_down_dark.png";
- const std::string TileMatch_ui::g_big_star = "g_big_star.png";
- const std::string TileMatch_ui::g_btn_add = "g_btn_add.png";
- const std::string TileMatch_ui::g_btn_c_blue_1 = "g_btn_c_blue_1.png";
- const std::string TileMatch_ui::g_btn_c_green_1 = "g_btn_c_green_1.png";
- const std::string TileMatch_ui::g_btn_c_red_1 = "g_btn_c_red_1.png";
- const std::string TileMatch_ui::g_btn_c_stroke = "g_btn_c_stroke.png";
- const std::string TileMatch_ui::g_btn_item_hard_lock = "g_btn_item_hard_lock.png";
- const std::string TileMatch_ui::g_btn_item_hard_unlock = "g_btn_item_hard_unlock.png";
- const std::string TileMatch_ui::g_btn_item_money = "g_btn_item_money.png";
- const std::string TileMatch_ui::g_btn_item_pur_lock = "g_btn_item_pur_lock.png";
- const std::string TileMatch_ui::g_btn_item_pur_unlock = "g_btn_item_pur_unlock.png";
- const std::string TileMatch_ui::g_btn_item_unlock = "g_btn_item_unlock.png";
- const std::string TileMatch_ui::g_btn_l_highlight = "g_btn_l_highlight.png";
- const std::string TileMatch_ui::g_caidai_1 = "g_caidai_1.png";
- const std::string TileMatch_ui::g_caidai_2 = "g_caidai_2.png";
- const std::string TileMatch_ui::g_charge_slider_bg_2 = "g_charge_slider_bg_2.png";
- const std::string TileMatch_ui::g_charge_slider_fill_2 = "g_charge_slider_fill_2.png";
- const std::string TileMatch_ui::g_collect_2 = "g_collect_2.png";
- const std::string TileMatch_ui::g_collect_3 = "g_collect_3.png";
- const std::string TileMatch_ui::g_collect_add_text = "g_collect_add_text.png";
- const std::string TileMatch_ui::g_efx_Iyxing = "g_efx_Iyxing.png";
- const std::string TileMatch_ui::g_efx_Iyxing2 = "g_efx_Iyxing2.png";
- const std::string TileMatch_ui::g_efx_Iyxing3 = "g_efx_Iyxing3.png";
- const std::string TileMatch_ui::g_fx_star_1 = "g_fx_star_1.png";
- const std::string TileMatch_ui::g_fx_star_2 = "g_fx_star_2.png";
- const std::string TileMatch_ui::g_golden_fx_1 = "g_golden_fx_1.png";
- const std::string TileMatch_ui::g_golden_fx_2 = "g_golden_fx_2.png";
- const std::string TileMatch_ui::g_golden_fx_3 = "g_golden_fx_3.png";
- const std::string TileMatch_ui::g_golden_fx_4 = "g_golden_fx_4.png";
- const std::string TileMatch_ui::g_golden_fx_5 = "g_golden_fx_5.png";
- const std::string TileMatch_ui::g_golden_fx_6 = "g_golden_fx_6.png";
- const std::string TileMatch_ui::g_golden_fx_7 = "g_golden_fx_7.png";
- const std::string TileMatch_ui::g_guide_tips_1 = "g_guide_tips_1.png";
- const std::string TileMatch_ui::g_guide_woman_1 = "g_guide_woman_1.png";
- const std::string TileMatch_ui::g_guide_woman_2 = "g_guide_woman_2.png";
- const std::string TileMatch_ui::g_icon_Fail_bg = "g_icon_ fail_bg.png";
- const std::string TileMatch_ui::g_icon_Fail_withdraw = "g_icon_ fail_withdraw.png";
- const std::string TileMatch_ui::g_icon_Item_lock = "g_icon_ item_lock.png";
- const std::string TileMatch_ui::g_icon_ads = "g_icon_ads.png";
- const std::string TileMatch_ui::g_icon_exit = "g_icon_exit.png";
- const std::string TileMatch_ui::g_icon_gold = "g_icon_gold.png";
- const std::string TileMatch_ui::g_icon_infinite = "g_icon_infinite.png";
- const std::string TileMatch_ui::g_icon_item_bg = "g_icon_item_bg.png";
- const std::string TileMatch_ui::g_icon_item_num_bottom = "g_icon_item_num_bottom.png";
- const std::string TileMatch_ui::g_icon_music_off = "g_icon_music_off.png";
- const std::string TileMatch_ui::g_icon_music_on = "g_icon_music_on.png";
- const std::string TileMatch_ui::g_icon_set = "g_icon_set.png";
- const std::string TileMatch_ui::g_icon_set_bg = "g_icon_set_bg.png";
- const std::string TileMatch_ui::g_icon_sound_off = "g_icon_sound_off.png";
- const std::string TileMatch_ui::g_icon_sound_on = "g_icon_sound_on.png";
- const std::string TileMatch_ui::g_icon_vib_off = "g_icon_vib_off.png";
- const std::string TileMatch_ui::g_icon_vib_on = "g_icon_vib_on.png";
- const std::string TileMatch_ui::g_in_booster_3 = "g_in_booster_3.png";
- const std::string TileMatch_ui::g_light_1 = "g_light_1.png";
- const std::string TileMatch_ui::g_light_2 = "g_light_2.png";
- const std::string TileMatch_ui::g_light_3 = "g_light_3.png";
- const std::string TileMatch_ui::g_light_4 = "g_light_4.png";
- const std::string TileMatch_ui::g_magnet_flash = "g_magnet_flash.png";
- const std::string TileMatch_ui::g_outside_time_bg = "g_outside_time_bg.png";
- const std::string TileMatch_ui::g_pass_tips_2 = "g_pass_tips_2.png";
- const std::string TileMatch_ui::g_prop_1 = "g_prop_1.png";
- const std::string TileMatch_ui::g_prop_1_lock = "g_prop_1_lock.png";
- const std::string TileMatch_ui::g_prop_2 = "g_prop_2.png";
- const std::string TileMatch_ui::g_prop_2_lock = "g_prop_2_lock.png";
- const std::string TileMatch_ui::g_prop_2_lock_spine = "g_prop_2_lock_spine.png";
- const std::string TileMatch_ui::g_prop_3 = "g_prop_3.png";
- const std::string TileMatch_ui::g_prop_3_lock = "g_prop_3_lock.png";
- const std::string TileMatch_ui::g_prop_4 = "g_prop_4.png";
- const std::string TileMatch_ui::g_prop_4_lock = "g_prop_4_lock.png";
- const std::string TileMatch_ui::g_puppy_icon = "g_puppy_icon.png";
- const std::string TileMatch_ui::g_puppy_pic = "g_puppy_pic.png";
- const std::string TileMatch_ui::g_slider_bg = "g_slider_bg.png";
- const std::string TileMatch_ui::g_slider_fill = "g_slider_fill.png";
- const std::string TileMatch_ui::g_star_guang_1 = "g_star_guang_1.png";
- const std::string TileMatch_ui::g_star_guang_2 = "g_star_guang_2.png";
- const std::string TileMatch_ui::g_star_guang_3 = "g_star_guang_3.png";
- const std::string TileMatch_ui::g_three_golden_1 = "g_three_golden_1.png";
- const std::string TileMatch_ui::g_three_golden_2 = "g_three_golden_2.png";
- const std::string TileMatch_ui::g_three_reward_icon = "g_three_reward_icon.png";
- const std::string TileMatch_ui::g_three_shadow_1 = "g_three_shadow_1.png";
- const std::string TileMatch_ui::g_three_shadow_2 = "g_three_shadow_2.png";
- const std::string TileMatch_ui::g_three_silver_1 = "g_three_silver_1.png";
- const std::string TileMatch_ui::g_three_silver_2 = "g_three_silver_2.png";
- const std::string TileMatch_ui::g_three_woodden_11 = "g_three_woodden_1 1.png";
- const std::string TileMatch_ui::g_three_woodden_2 = "g_three_woodden_2.png";
- const std::string TileMatch_ui::g_three_woodden_open_1 = "g_three_woodden_open_1.png";
- const std::string TileMatch_ui::g_three_woodden_open_2 = "g_three_woodden_open_2.png";
- const std::string TileMatch_ui::g_three_woodden_open_3 = "g_three_woodden_open_3.png";
- const std::string TileMatch_ui::g_tx_wind2 = "g_tx_wind2.png";
- const std::string TileMatch_ui::g_wintitle_10 = "g_wintitle_10.png";
- const std::string TileMatch_ui::g_wintitle_11 = "g_wintitle_11.png";
- const std::string TileMatch_ui::g_wintitle_12 = "g_wintitle_12.png";
- const std::string TileMatch_ui::g_wintitle_13 = "g_wintitle_13.png";
- const std::string TileMatch_ui::g_wintitle_14 = "g_wintitle_14.png";
- const std::string TileMatch_ui::g_wintitle_6 = "g_wintitle_6.png";
- const std::string TileMatch_ui::g_wintitle_7 = "g_wintitle_7.png";
- const std::string TileMatch_ui::g_wintitle_8 = "g_wintitle_8.png";
- const std::string TileMatch_ui::g_wintitle_9 = "g_wintitle_9.png";
- const std::string TileMatch_ui::g_xiangKuang_g6 = "g_xiangKuang_g6.png";
- const std::string TileMatch_ui::g_xiangKuang_liZi_g3 = "g_xiangKuang_liZi_g3.png";
- const std::string TileMatch_ui::g_xiangKuang_liZi_g5 = "g_xiangKuang_liZi_g5.png";
- const std::string TileMatch_ui::g_xichen_wind = "g_xichen_wind.png";
- const std::string TileMatch_ui::game_bar_purple = "game_bar_purple.png";
- const std::string TileMatch_ui::game_bar_red = "game_bar_red.png";
- const std::string TileMatch_ui::game_bar_warring_2 = "game_bar_warring_2.png";
- const std::string TileMatch_ui::game_clock = "game_clock.png";
- const std::string TileMatch_ui::game_hand = "game_hand.png";
- const std::string TileMatch_ui::game_outside_add_icon = "game_outside_add_icon.png";
- const std::string TileMatch_ui::game_outside_slect_icon = "game_outside_slect_icon.png";
- const std::string TileMatch_ui::game_prop_10 = "game_prop_10.png";
- const std::string TileMatch_ui::game_prop_12 = "game_prop_12.png";
- const std::string TileMatch_ui::game_prop_13 = "game_prop_13.png";
- const std::string TileMatch_ui::game_prop_8 = "game_prop_8.png";
- const std::string TileMatch_ui::game_prop_9 = "game_prop_9.png";
- const std::string TileMatch_ui::game_ui_speci_btn = "game_ui_speci_btn.png";
- const std::string TileMatch_ui::game_whiter_bg = "game_whiter_bg.png";
- const std::string TileMatch_ui::goodsStory = "GoodsStory_按钮内容_关闭_红色.png";
- const std::string TileMatch_ui::goodsStory__1 = "GoodsStory_进度条1_绿.png";
- const std::string TileMatch_ui::goodsStory__2 = "GoodsStory_进度条2_绿.png";
- const std::string TileMatch_ui::goodsStory__3 = "GoodsStory_关闭按钮3.png";
- const std::string TileMatch_ui::goodsStory____1 = "GoodsStory_按钮基底_剧情关卡按钮光1.png";
- const std::string TileMatch_ui::goodsStory_____1 = "GoodsStory_按钮基底_难度游戏按钮_1.png";
- const std::string TileMatch_ui::goodsStory_____2 = "GoodsStory_按钮基底_难度游戏按钮_2.png";
- const std::string TileMatch_ui::goodsStory______UI = "GoodsStory_卡片收集系统_弹窗_破碎卡片UI.png";
- const std::string TileMatch_ui::goodsStory___congratulation = "GoodsStory_文本标题_congratulation.png";
- const std::string TileMatch_ui::goodsStory___goods = "GoodsStory_游戏图例_goods.png";
- const std::string TileMatch_ui::gwMain_star6 = "gw-main_star6.png";
- const std::string TileMatch_ui::match_outside_blue = "match_outside_blue.png";
- const std::string TileMatch_ui::match_outside_green = "match_outside_green.png";
- const std::string TileMatch_ui::plus_blue_banner_icon = "plus_blue_banner_icon.png";
- const std::string TileMatch_ui::plus_moves_icon = "plus_moves_icon.png";
- const std::string TileMatch_ui::plus_red_banner_icon = "plus_red_banner_icon.png";
- const std::string TileMatch_ui::ui_fail_frame = "ui_fail_frame.png";
- const std::string TileMatch_ui::ui_fail_life = "ui_fail_life.png";
- const std::string TileMatch_ui::ui_text_bg = "ui_text_bg.png";
- // ---------------------------------------------------------
- // convenience functions returing pointers to Sprite objects
- // ---------------------------------------------------------
- Sprite* TileMatch_ui::createClaw_1Sprite()
- {
- return Sprite::createWithSpriteFrameName(claw_1);
- }
- Sprite* TileMatch_ui::createClaw_1_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(claw_1_2);
- }
- Sprite* TileMatch_ui::createClaw_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(claw_2);
- }
- Sprite* TileMatch_ui::createClaw_3Sprite()
- {
- return Sprite::createWithSpriteFrameName(claw_3);
- }
- Sprite* TileMatch_ui::createClaw_4Sprite()
- {
- return Sprite::createWithSpriteFrameName(claw_4);
- }
- Sprite* TileMatch_ui::createClaw_5Sprite()
- {
- return Sprite::createWithSpriteFrameName(claw_5);
- }
- Sprite* TileMatch_ui::createClaw_fly_01Sprite()
- {
- return Sprite::createWithSpriteFrameName(claw_fly_01);
- }
- Sprite* TileMatch_ui::createClaw_fly_19Sprite()
- {
- return Sprite::createWithSpriteFrameName(claw_fly_19);
- }
- Sprite* TileMatch_ui::createClaw_fly_21Sprite()
- {
- return Sprite::createWithSpriteFrameName(claw_fly_21);
- }
- Sprite* TileMatch_ui::createClaw_fly_25Sprite()
- {
- return Sprite::createWithSpriteFrameName(claw_fly_25);
- }
- Sprite* TileMatch_ui::createClaw_fly_26Sprite()
- {
- return Sprite::createWithSpriteFrameName(claw_fly_26);
- }
- Sprite* TileMatch_ui::createClaw_fly_efcSprite()
- {
- return Sprite::createWithSpriteFrameName(claw_fly_efc);
- }
- Sprite* TileMatch_ui::createG_bg_down_darkSprite()
- {
- return Sprite::createWithSpriteFrameName(g_bg_down_dark);
- }
- Sprite* TileMatch_ui::createG_big_starSprite()
- {
- return Sprite::createWithSpriteFrameName(g_big_star);
- }
- Sprite* TileMatch_ui::createG_btn_addSprite()
- {
- return Sprite::createWithSpriteFrameName(g_btn_add);
- }
- Sprite* TileMatch_ui::createG_btn_c_blue_1Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_btn_c_blue_1);
- }
- Sprite* TileMatch_ui::createG_btn_c_green_1Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_btn_c_green_1);
- }
- Sprite* TileMatch_ui::createG_btn_c_red_1Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_btn_c_red_1);
- }
- Sprite* TileMatch_ui::createG_btn_c_strokeSprite()
- {
- return Sprite::createWithSpriteFrameName(g_btn_c_stroke);
- }
- Sprite* TileMatch_ui::createG_btn_item_hard_lockSprite()
- {
- return Sprite::createWithSpriteFrameName(g_btn_item_hard_lock);
- }
- Sprite* TileMatch_ui::createG_btn_item_hard_unlockSprite()
- {
- return Sprite::createWithSpriteFrameName(g_btn_item_hard_unlock);
- }
- Sprite* TileMatch_ui::createG_btn_item_moneySprite()
- {
- return Sprite::createWithSpriteFrameName(g_btn_item_money);
- }
- Sprite* TileMatch_ui::createG_btn_item_pur_lockSprite()
- {
- return Sprite::createWithSpriteFrameName(g_btn_item_pur_lock);
- }
- Sprite* TileMatch_ui::createG_btn_item_pur_unlockSprite()
- {
- return Sprite::createWithSpriteFrameName(g_btn_item_pur_unlock);
- }
- Sprite* TileMatch_ui::createG_btn_item_unlockSprite()
- {
- return Sprite::createWithSpriteFrameName(g_btn_item_unlock);
- }
- Sprite* TileMatch_ui::createG_btn_l_highlightSprite()
- {
- return Sprite::createWithSpriteFrameName(g_btn_l_highlight);
- }
- Sprite* TileMatch_ui::createG_caidai_1Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_caidai_1);
- }
- Sprite* TileMatch_ui::createG_caidai_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_caidai_2);
- }
- Sprite* TileMatch_ui::createG_charge_slider_bg_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_charge_slider_bg_2);
- }
- Sprite* TileMatch_ui::createG_charge_slider_fill_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_charge_slider_fill_2);
- }
- Sprite* TileMatch_ui::createG_collect_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_collect_2);
- }
- Sprite* TileMatch_ui::createG_collect_3Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_collect_3);
- }
- Sprite* TileMatch_ui::createG_collect_add_textSprite()
- {
- return Sprite::createWithSpriteFrameName(g_collect_add_text);
- }
- Sprite* TileMatch_ui::createG_efx_IyxingSprite()
- {
- return Sprite::createWithSpriteFrameName(g_efx_Iyxing);
- }
- Sprite* TileMatch_ui::createG_efx_Iyxing2Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_efx_Iyxing2);
- }
- Sprite* TileMatch_ui::createG_efx_Iyxing3Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_efx_Iyxing3);
- }
- Sprite* TileMatch_ui::createG_fx_star_1Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_fx_star_1);
- }
- Sprite* TileMatch_ui::createG_fx_star_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_fx_star_2);
- }
- Sprite* TileMatch_ui::createG_golden_fx_1Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_golden_fx_1);
- }
- Sprite* TileMatch_ui::createG_golden_fx_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_golden_fx_2);
- }
- Sprite* TileMatch_ui::createG_golden_fx_3Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_golden_fx_3);
- }
- Sprite* TileMatch_ui::createG_golden_fx_4Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_golden_fx_4);
- }
- Sprite* TileMatch_ui::createG_golden_fx_5Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_golden_fx_5);
- }
- Sprite* TileMatch_ui::createG_golden_fx_6Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_golden_fx_6);
- }
- Sprite* TileMatch_ui::createG_golden_fx_7Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_golden_fx_7);
- }
- Sprite* TileMatch_ui::createG_guide_tips_1Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_guide_tips_1);
- }
- Sprite* TileMatch_ui::createG_guide_woman_1Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_guide_woman_1);
- }
- Sprite* TileMatch_ui::createG_guide_woman_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_guide_woman_2);
- }
- Sprite* TileMatch_ui::createG_icon_Fail_bgSprite()
- {
- return Sprite::createWithSpriteFrameName(g_icon_Fail_bg);
- }
- Sprite* TileMatch_ui::createG_icon_Fail_withdrawSprite()
- {
- return Sprite::createWithSpriteFrameName(g_icon_Fail_withdraw);
- }
- Sprite* TileMatch_ui::createG_icon_Item_lockSprite()
- {
- return Sprite::createWithSpriteFrameName(g_icon_Item_lock);
- }
- Sprite* TileMatch_ui::createG_icon_adsSprite()
- {
- return Sprite::createWithSpriteFrameName(g_icon_ads);
- }
- Sprite* TileMatch_ui::createG_icon_exitSprite()
- {
- return Sprite::createWithSpriteFrameName(g_icon_exit);
- }
- Sprite* TileMatch_ui::createG_icon_goldSprite()
- {
- return Sprite::createWithSpriteFrameName(g_icon_gold);
- }
- Sprite* TileMatch_ui::createG_icon_infiniteSprite()
- {
- return Sprite::createWithSpriteFrameName(g_icon_infinite);
- }
- Sprite* TileMatch_ui::createG_icon_item_bgSprite()
- {
- return Sprite::createWithSpriteFrameName(g_icon_item_bg);
- }
- Sprite* TileMatch_ui::createG_icon_item_num_bottomSprite()
- {
- return Sprite::createWithSpriteFrameName(g_icon_item_num_bottom);
- }
- Sprite* TileMatch_ui::createG_icon_music_offSprite()
- {
- return Sprite::createWithSpriteFrameName(g_icon_music_off);
- }
- Sprite* TileMatch_ui::createG_icon_music_onSprite()
- {
- return Sprite::createWithSpriteFrameName(g_icon_music_on);
- }
- Sprite* TileMatch_ui::createG_icon_setSprite()
- {
- return Sprite::createWithSpriteFrameName(g_icon_set);
- }
- Sprite* TileMatch_ui::createG_icon_set_bgSprite()
- {
- return Sprite::createWithSpriteFrameName(g_icon_set_bg);
- }
- Sprite* TileMatch_ui::createG_icon_sound_offSprite()
- {
- return Sprite::createWithSpriteFrameName(g_icon_sound_off);
- }
- Sprite* TileMatch_ui::createG_icon_sound_onSprite()
- {
- return Sprite::createWithSpriteFrameName(g_icon_sound_on);
- }
- Sprite* TileMatch_ui::createG_icon_vib_offSprite()
- {
- return Sprite::createWithSpriteFrameName(g_icon_vib_off);
- }
- Sprite* TileMatch_ui::createG_icon_vib_onSprite()
- {
- return Sprite::createWithSpriteFrameName(g_icon_vib_on);
- }
- Sprite* TileMatch_ui::createG_in_booster_3Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_in_booster_3);
- }
- Sprite* TileMatch_ui::createG_light_1Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_light_1);
- }
- Sprite* TileMatch_ui::createG_light_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_light_2);
- }
- Sprite* TileMatch_ui::createG_light_3Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_light_3);
- }
- Sprite* TileMatch_ui::createG_light_4Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_light_4);
- }
- Sprite* TileMatch_ui::createG_magnet_flashSprite()
- {
- return Sprite::createWithSpriteFrameName(g_magnet_flash);
- }
- Sprite* TileMatch_ui::createG_outside_time_bgSprite()
- {
- return Sprite::createWithSpriteFrameName(g_outside_time_bg);
- }
- Sprite* TileMatch_ui::createG_pass_tips_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_pass_tips_2);
- }
- Sprite* TileMatch_ui::createG_prop_1Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_prop_1);
- }
- Sprite* TileMatch_ui::createG_prop_1_lockSprite()
- {
- return Sprite::createWithSpriteFrameName(g_prop_1_lock);
- }
- Sprite* TileMatch_ui::createG_prop_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_prop_2);
- }
- Sprite* TileMatch_ui::createG_prop_2_lockSprite()
- {
- return Sprite::createWithSpriteFrameName(g_prop_2_lock);
- }
- Sprite* TileMatch_ui::createG_prop_2_lock_spineSprite()
- {
- return Sprite::createWithSpriteFrameName(g_prop_2_lock_spine);
- }
- Sprite* TileMatch_ui::createG_prop_3Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_prop_3);
- }
- Sprite* TileMatch_ui::createG_prop_3_lockSprite()
- {
- return Sprite::createWithSpriteFrameName(g_prop_3_lock);
- }
- Sprite* TileMatch_ui::createG_prop_4Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_prop_4);
- }
- Sprite* TileMatch_ui::createG_prop_4_lockSprite()
- {
- return Sprite::createWithSpriteFrameName(g_prop_4_lock);
- }
- Sprite* TileMatch_ui::createG_puppy_iconSprite()
- {
- return Sprite::createWithSpriteFrameName(g_puppy_icon);
- }
- Sprite* TileMatch_ui::createG_puppy_picSprite()
- {
- return Sprite::createWithSpriteFrameName(g_puppy_pic);
- }
- Sprite* TileMatch_ui::createG_slider_bgSprite()
- {
- return Sprite::createWithSpriteFrameName(g_slider_bg);
- }
- Sprite* TileMatch_ui::createG_slider_fillSprite()
- {
- return Sprite::createWithSpriteFrameName(g_slider_fill);
- }
- Sprite* TileMatch_ui::createG_star_guang_1Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_star_guang_1);
- }
- Sprite* TileMatch_ui::createG_star_guang_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_star_guang_2);
- }
- Sprite* TileMatch_ui::createG_star_guang_3Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_star_guang_3);
- }
- Sprite* TileMatch_ui::createG_three_golden_1Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_three_golden_1);
- }
- Sprite* TileMatch_ui::createG_three_golden_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_three_golden_2);
- }
- Sprite* TileMatch_ui::createG_three_reward_iconSprite()
- {
- return Sprite::createWithSpriteFrameName(g_three_reward_icon);
- }
- Sprite* TileMatch_ui::createG_three_shadow_1Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_three_shadow_1);
- }
- Sprite* TileMatch_ui::createG_three_shadow_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_three_shadow_2);
- }
- Sprite* TileMatch_ui::createG_three_silver_1Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_three_silver_1);
- }
- Sprite* TileMatch_ui::createG_three_silver_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_three_silver_2);
- }
- Sprite* TileMatch_ui::createG_three_woodden_11Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_three_woodden_11);
- }
- Sprite* TileMatch_ui::createG_three_woodden_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_three_woodden_2);
- }
- Sprite* TileMatch_ui::createG_three_woodden_open_1Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_three_woodden_open_1);
- }
- Sprite* TileMatch_ui::createG_three_woodden_open_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_three_woodden_open_2);
- }
- Sprite* TileMatch_ui::createG_three_woodden_open_3Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_three_woodden_open_3);
- }
- Sprite* TileMatch_ui::createG_tx_wind2Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_tx_wind2);
- }
- Sprite* TileMatch_ui::createG_wintitle_10Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_wintitle_10);
- }
- Sprite* TileMatch_ui::createG_wintitle_11Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_wintitle_11);
- }
- Sprite* TileMatch_ui::createG_wintitle_12Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_wintitle_12);
- }
- Sprite* TileMatch_ui::createG_wintitle_13Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_wintitle_13);
- }
- Sprite* TileMatch_ui::createG_wintitle_14Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_wintitle_14);
- }
- Sprite* TileMatch_ui::createG_wintitle_6Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_wintitle_6);
- }
- Sprite* TileMatch_ui::createG_wintitle_7Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_wintitle_7);
- }
- Sprite* TileMatch_ui::createG_wintitle_8Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_wintitle_8);
- }
- Sprite* TileMatch_ui::createG_wintitle_9Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_wintitle_9);
- }
- Sprite* TileMatch_ui::createG_xiangKuang_g6Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_xiangKuang_g6);
- }
- Sprite* TileMatch_ui::createG_xiangKuang_liZi_g3Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_xiangKuang_liZi_g3);
- }
- Sprite* TileMatch_ui::createG_xiangKuang_liZi_g5Sprite()
- {
- return Sprite::createWithSpriteFrameName(g_xiangKuang_liZi_g5);
- }
- Sprite* TileMatch_ui::createG_xichen_windSprite()
- {
- return Sprite::createWithSpriteFrameName(g_xichen_wind);
- }
- Sprite* TileMatch_ui::createGame_bar_purpleSprite()
- {
- return Sprite::createWithSpriteFrameName(game_bar_purple);
- }
- Sprite* TileMatch_ui::createGame_bar_redSprite()
- {
- return Sprite::createWithSpriteFrameName(game_bar_red);
- }
- Sprite* TileMatch_ui::createGame_bar_warring_2Sprite()
- {
- return Sprite::createWithSpriteFrameName(game_bar_warring_2);
- }
- Sprite* TileMatch_ui::createGame_clockSprite()
- {
- return Sprite::createWithSpriteFrameName(game_clock);
- }
- Sprite* TileMatch_ui::createGame_handSprite()
- {
- return Sprite::createWithSpriteFrameName(game_hand);
- }
- Sprite* TileMatch_ui::createGame_outside_add_iconSprite()
- {
- return Sprite::createWithSpriteFrameName(game_outside_add_icon);
- }
- Sprite* TileMatch_ui::createGame_outside_slect_iconSprite()
- {
- return Sprite::createWithSpriteFrameName(game_outside_slect_icon);
- }
- Sprite* TileMatch_ui::createGame_prop_10Sprite()
- {
- return Sprite::createWithSpriteFrameName(game_prop_10);
- }
- Sprite* TileMatch_ui::createGame_prop_12Sprite()
- {
- return Sprite::createWithSpriteFrameName(game_prop_12);
- }
- Sprite* TileMatch_ui::createGame_prop_13Sprite()
- {
- return Sprite::createWithSpriteFrameName(game_prop_13);
- }
- Sprite* TileMatch_ui::createGame_prop_8Sprite()
- {
- return Sprite::createWithSpriteFrameName(game_prop_8);
- }
- Sprite* TileMatch_ui::createGame_prop_9Sprite()
- {
- return Sprite::createWithSpriteFrameName(game_prop_9);
- }
- Sprite* TileMatch_ui::createGame_ui_speci_btnSprite()
- {
- return Sprite::createWithSpriteFrameName(game_ui_speci_btn);
- }
- Sprite* TileMatch_ui::createGame_whiter_bgSprite()
- {
- return Sprite::createWithSpriteFrameName(game_whiter_bg);
- }
- Sprite* TileMatch_ui::createGoodsStorySprite()
- {
- return Sprite::createWithSpriteFrameName(goodsStory);
- }
- Sprite* TileMatch_ui::createGoodsStory__1Sprite()
- {
- return Sprite::createWithSpriteFrameName(goodsStory__1);
- }
- Sprite* TileMatch_ui::createGoodsStory__2Sprite()
- {
- return Sprite::createWithSpriteFrameName(goodsStory__2);
- }
- Sprite* TileMatch_ui::createGoodsStory__3Sprite()
- {
- return Sprite::createWithSpriteFrameName(goodsStory__3);
- }
- Sprite* TileMatch_ui::createGoodsStory____1Sprite()
- {
- return Sprite::createWithSpriteFrameName(goodsStory____1);
- }
- Sprite* TileMatch_ui::createGoodsStory_____1Sprite()
- {
- return Sprite::createWithSpriteFrameName(goodsStory_____1);
- }
- Sprite* TileMatch_ui::createGoodsStory_____2Sprite()
- {
- return Sprite::createWithSpriteFrameName(goodsStory_____2);
- }
- Sprite* TileMatch_ui::createGoodsStory______UISprite()
- {
- return Sprite::createWithSpriteFrameName(goodsStory______UI);
- }
- Sprite* TileMatch_ui::createGoodsStory___congratulationSprite()
- {
- return Sprite::createWithSpriteFrameName(goodsStory___congratulation);
- }
- Sprite* TileMatch_ui::createGoodsStory___goodsSprite()
- {
- return Sprite::createWithSpriteFrameName(goodsStory___goods);
- }
- Sprite* TileMatch_ui::createGwMain_star6Sprite()
- {
- return Sprite::createWithSpriteFrameName(gwMain_star6);
- }
- Sprite* TileMatch_ui::createMatch_outside_blueSprite()
- {
- return Sprite::createWithSpriteFrameName(match_outside_blue);
- }
- Sprite* TileMatch_ui::createMatch_outside_greenSprite()
- {
- return Sprite::createWithSpriteFrameName(match_outside_green);
- }
- Sprite* TileMatch_ui::createPlus_blue_banner_iconSprite()
- {
- return Sprite::createWithSpriteFrameName(plus_blue_banner_icon);
- }
- Sprite* TileMatch_ui::createPlus_moves_iconSprite()
- {
- return Sprite::createWithSpriteFrameName(plus_moves_icon);
- }
- Sprite* TileMatch_ui::createPlus_red_banner_iconSprite()
- {
- return Sprite::createWithSpriteFrameName(plus_red_banner_icon);
- }
- Sprite* TileMatch_ui::createUi_fail_frameSprite()
- {
- return Sprite::createWithSpriteFrameName(ui_fail_frame);
- }
- Sprite* TileMatch_ui::createUi_fail_lifeSprite()
- {
- return Sprite::createWithSpriteFrameName(ui_fail_life);
- }
- Sprite* TileMatch_ui::createUi_text_bgSprite()
- {
- return Sprite::createWithSpriteFrameName(ui_text_bg);
- }
- // ------------------------------------------------
- // convenience functions returning animation frames
- // ------------------------------------------------
- Vector<SpriteFrame*> TileMatch_ui::getCLAWAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(5);
- frames.pushBack(frameCache->getSpriteFrameByName(claw_1));
- frames.pushBack(frameCache->getSpriteFrameByName(claw_2));
- frames.pushBack(frameCache->getSpriteFrameByName(claw_3));
- frames.pushBack(frameCache->getSpriteFrameByName(claw_4));
- frames.pushBack(frameCache->getSpriteFrameByName(claw_5));
- return frames;
- }
- Vector<SpriteFrame*> TileMatch_ui::getCLAW_FLYAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(5);
- frames.pushBack(frameCache->getSpriteFrameByName(claw_fly_01));
- frames.pushBack(frameCache->getSpriteFrameByName(claw_fly_19));
- frames.pushBack(frameCache->getSpriteFrameByName(claw_fly_21));
- frames.pushBack(frameCache->getSpriteFrameByName(claw_fly_25));
- frames.pushBack(frameCache->getSpriteFrameByName(claw_fly_26));
- return frames;
- }
- Vector<SpriteFrame*> TileMatch_ui::getGAME_PROPAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(5);
- frames.pushBack(frameCache->getSpriteFrameByName(game_prop_8));
- frames.pushBack(frameCache->getSpriteFrameByName(game_prop_9));
- frames.pushBack(frameCache->getSpriteFrameByName(game_prop_10));
- frames.pushBack(frameCache->getSpriteFrameByName(game_prop_12));
- frames.pushBack(frameCache->getSpriteFrameByName(game_prop_13));
- return frames;
- }
- Vector<SpriteFrame*> TileMatch_ui::getGOODSSTORYAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(3);
- frames.pushBack(frameCache->getSpriteFrameByName(goodsStory____1));
- frames.pushBack(frameCache->getSpriteFrameByName(goodsStory__2));
- frames.pushBack(frameCache->getSpriteFrameByName(goodsStory__3));
- return frames;
- }
- Vector<SpriteFrame*> TileMatch_ui::getG_CAIDAIAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(2);
- frames.pushBack(frameCache->getSpriteFrameByName(g_caidai_1));
- frames.pushBack(frameCache->getSpriteFrameByName(g_caidai_2));
- return frames;
- }
- Vector<SpriteFrame*> TileMatch_ui::getG_COLLECTAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(2);
- frames.pushBack(frameCache->getSpriteFrameByName(g_collect_2));
- frames.pushBack(frameCache->getSpriteFrameByName(g_collect_3));
- return frames;
- }
- Vector<SpriteFrame*> TileMatch_ui::getG_EFX_IYXINGAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(2);
- frames.pushBack(frameCache->getSpriteFrameByName(g_efx_Iyxing2));
- frames.pushBack(frameCache->getSpriteFrameByName(g_efx_Iyxing3));
- return frames;
- }
- Vector<SpriteFrame*> TileMatch_ui::getG_FX_STARAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(2);
- frames.pushBack(frameCache->getSpriteFrameByName(g_fx_star_1));
- frames.pushBack(frameCache->getSpriteFrameByName(g_fx_star_2));
- return frames;
- }
- Vector<SpriteFrame*> TileMatch_ui::getG_GOLDEN_FXAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(7);
- frames.pushBack(frameCache->getSpriteFrameByName(g_golden_fx_1));
- frames.pushBack(frameCache->getSpriteFrameByName(g_golden_fx_2));
- frames.pushBack(frameCache->getSpriteFrameByName(g_golden_fx_3));
- frames.pushBack(frameCache->getSpriteFrameByName(g_golden_fx_4));
- frames.pushBack(frameCache->getSpriteFrameByName(g_golden_fx_5));
- frames.pushBack(frameCache->getSpriteFrameByName(g_golden_fx_6));
- frames.pushBack(frameCache->getSpriteFrameByName(g_golden_fx_7));
- return frames;
- }
- Vector<SpriteFrame*> TileMatch_ui::getG_GUIDE_WOMANAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(2);
- frames.pushBack(frameCache->getSpriteFrameByName(g_guide_woman_1));
- frames.pushBack(frameCache->getSpriteFrameByName(g_guide_woman_2));
- return frames;
- }
- Vector<SpriteFrame*> TileMatch_ui::getG_LIGHTAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(4);
- frames.pushBack(frameCache->getSpriteFrameByName(g_light_1));
- frames.pushBack(frameCache->getSpriteFrameByName(g_light_2));
- frames.pushBack(frameCache->getSpriteFrameByName(g_light_3));
- frames.pushBack(frameCache->getSpriteFrameByName(g_light_4));
- return frames;
- }
- Vector<SpriteFrame*> TileMatch_ui::getG_PROPAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(4);
- frames.pushBack(frameCache->getSpriteFrameByName(g_prop_1));
- frames.pushBack(frameCache->getSpriteFrameByName(g_prop_2));
- frames.pushBack(frameCache->getSpriteFrameByName(g_prop_3));
- frames.pushBack(frameCache->getSpriteFrameByName(g_prop_4));
- return frames;
- }
- Vector<SpriteFrame*> TileMatch_ui::getG_STAR_GUANGAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(3);
- frames.pushBack(frameCache->getSpriteFrameByName(g_star_guang_1));
- frames.pushBack(frameCache->getSpriteFrameByName(g_star_guang_2));
- frames.pushBack(frameCache->getSpriteFrameByName(g_star_guang_3));
- return frames;
- }
- Vector<SpriteFrame*> TileMatch_ui::getG_THREE_GOLDENAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(2);
- frames.pushBack(frameCache->getSpriteFrameByName(g_three_golden_1));
- frames.pushBack(frameCache->getSpriteFrameByName(g_three_golden_2));
- return frames;
- }
- Vector<SpriteFrame*> TileMatch_ui::getG_THREE_SHADOWAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(2);
- frames.pushBack(frameCache->getSpriteFrameByName(g_three_shadow_1));
- frames.pushBack(frameCache->getSpriteFrameByName(g_three_shadow_2));
- return frames;
- }
- Vector<SpriteFrame*> TileMatch_ui::getG_THREE_SILVERAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(2);
- frames.pushBack(frameCache->getSpriteFrameByName(g_three_silver_1));
- frames.pushBack(frameCache->getSpriteFrameByName(g_three_silver_2));
- return frames;
- }
- Vector<SpriteFrame*> TileMatch_ui::getG_THREE_WOODDEN_OPENAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(3);
- frames.pushBack(frameCache->getSpriteFrameByName(g_three_woodden_open_1));
- frames.pushBack(frameCache->getSpriteFrameByName(g_three_woodden_open_2));
- frames.pushBack(frameCache->getSpriteFrameByName(g_three_woodden_open_3));
- return frames;
- }
- Vector<SpriteFrame*> TileMatch_ui::getG_WINTITLEAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(9);
- frames.pushBack(frameCache->getSpriteFrameByName(g_wintitle_6));
- frames.pushBack(frameCache->getSpriteFrameByName(g_wintitle_7));
- frames.pushBack(frameCache->getSpriteFrameByName(g_wintitle_8));
- frames.pushBack(frameCache->getSpriteFrameByName(g_wintitle_9));
- frames.pushBack(frameCache->getSpriteFrameByName(g_wintitle_10));
- frames.pushBack(frameCache->getSpriteFrameByName(g_wintitle_11));
- frames.pushBack(frameCache->getSpriteFrameByName(g_wintitle_12));
- frames.pushBack(frameCache->getSpriteFrameByName(g_wintitle_13));
- frames.pushBack(frameCache->getSpriteFrameByName(g_wintitle_14));
- return frames;
- }
- Vector<SpriteFrame*> TileMatch_ui::getG_XIANGKUANG_LIZI_GAnimationFrames()
- {
- SpriteFrameCache *frameCache = SpriteFrameCache::getInstance();
- Vector<SpriteFrame*> frames;
- frames.reserve(2);
- frames.pushBack(frameCache->getSpriteFrameByName(g_xiangKuang_liZi_g3));
- frames.pushBack(frameCache->getSpriteFrameByName(g_xiangKuang_liZi_g5));
- return frames;
- }
- // ----------
- // animations
- // ----------
- Animate *TileMatch_ui::createCLAWAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getCLAWAnimationFrames(), delay, loops));
- }
- Animate *TileMatch_ui::createCLAW_FLYAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getCLAW_FLYAnimationFrames(), delay, loops));
- }
- Animate *TileMatch_ui::createGAME_PROPAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getGAME_PROPAnimationFrames(), delay, loops));
- }
- Animate *TileMatch_ui::createGOODSSTORYAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getGOODSSTORYAnimationFrames(), delay, loops));
- }
- Animate *TileMatch_ui::createG_CAIDAIAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getG_CAIDAIAnimationFrames(), delay, loops));
- }
- Animate *TileMatch_ui::createG_COLLECTAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getG_COLLECTAnimationFrames(), delay, loops));
- }
- Animate *TileMatch_ui::createG_EFX_IYXINGAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getG_EFX_IYXINGAnimationFrames(), delay, loops));
- }
- Animate *TileMatch_ui::createG_FX_STARAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getG_FX_STARAnimationFrames(), delay, loops));
- }
- Animate *TileMatch_ui::createG_GOLDEN_FXAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getG_GOLDEN_FXAnimationFrames(), delay, loops));
- }
- Animate *TileMatch_ui::createG_GUIDE_WOMANAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getG_GUIDE_WOMANAnimationFrames(), delay, loops));
- }
- Animate *TileMatch_ui::createG_LIGHTAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getG_LIGHTAnimationFrames(), delay, loops));
- }
- Animate *TileMatch_ui::createG_PROPAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getG_PROPAnimationFrames(), delay, loops));
- }
- Animate *TileMatch_ui::createG_STAR_GUANGAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getG_STAR_GUANGAnimationFrames(), delay, loops));
- }
- Animate *TileMatch_ui::createG_THREE_GOLDENAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getG_THREE_GOLDENAnimationFrames(), delay, loops));
- }
- Animate *TileMatch_ui::createG_THREE_SHADOWAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getG_THREE_SHADOWAnimationFrames(), delay, loops));
- }
- Animate *TileMatch_ui::createG_THREE_SILVERAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getG_THREE_SILVERAnimationFrames(), delay, loops));
- }
- Animate *TileMatch_ui::createG_THREE_WOODDEN_OPENAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getG_THREE_WOODDEN_OPENAnimationFrames(), delay, loops));
- }
- Animate *TileMatch_ui::createG_WINTITLEAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getG_WINTITLEAnimationFrames(), delay, loops));
- }
- Animate *TileMatch_ui::createG_XIANGKUANG_LIZI_GAnimateAction(float delay, unsigned int loops)
- {
- return Animate::create(Animation::createWithSpriteFrames(getG_XIANGKUANG_LIZI_GAnimationFrames(), delay, loops));
- }
- }; // namespace
|