public override void Init() { m_StageSize = (int)((m_tile.Length / 10 - (int)(800 / (283 * tileSize) + 1)) * 283 * tileSize); m_StageTile = m_tile; IcePick m_IcePick = new IcePick(); m_IcePick.Init(new Vector2(1200, secondFloor)); m_IcePickList.Add(m_IcePick); IcePick m_IcePick1 = new IcePick(); m_IcePick1.Init(new Vector2(2400, secondFloor)); m_IcePickList.Add(m_IcePick1); IcePick m_IcePick2 = new IcePick(); m_IcePick2.Init(new Vector2(3550, thirdFloor)); m_IcePickList.Add(m_IcePick2); IcePick m_icepick3 = new IcePick(); m_icepick3.Init(new Vector2(3575, thirdFloor)); m_IcePickList.Add(m_icepick3); IcePick m_IcePick4 = new IcePick(); m_IcePick4.Init(new Vector2(3600, thirdFloor)); m_IcePickList.Add(m_IcePick4); IcePick m_IcePick5 = new IcePick(); m_IcePick5.Init(new Vector2(4425, secondFloor)); m_IcePickList.Add(m_IcePick5); IcePick m_IcePick6 = new IcePick(); m_IcePick6.Init(new Vector2(5875, thirdFloor)); m_IcePickList.Add(m_IcePick6); LeafPiece m_LeafPiece = new LeafPiece(); m_LeafPiece.Init(new Vector2(200, secondFloor)); m_LeafPList.Add(m_LeafPiece); LeafPiece m_LeafPiece1 = new LeafPiece(); m_LeafPiece1.Init(new Vector2(800, secondFloor)); m_LeafPList.Add(m_LeafPiece1); LeafPiece m_LeafPiece2 = new LeafPiece(); m_LeafPiece2.Init(new Vector2(1100, secondFloor)); m_LeafPList.Add(m_LeafPiece2); LeafPiece m_LeafPiece3 = new LeafPiece(); m_LeafPiece3.Init(new Vector2(1300, secondFloor)); m_LeafPList.Add(m_LeafPiece3); LeafPiece m_LeafPiece4 = new LeafPiece(); m_LeafPiece4.Init(new Vector2(2200, secondFloor)); m_LeafPList.Add(m_LeafPiece4); LeafPiece m_LeafPiece5 = new LeafPiece(); m_LeafPiece5.Init(new Vector2(2300, secondFloor)); m_LeafPList.Add(m_LeafPiece5); LeafPiece m_LeafPiece6 = new LeafPiece(); m_LeafPiece6.Init(new Vector2(3800, secondFloor)); m_LeafPList.Add(m_LeafPiece6); LeafPiece m_LeafPiece7 = new LeafPiece(); m_LeafPiece7.Init(new Vector2(3900, secondFloor)); m_LeafPList.Add(m_LeafPiece7); LeafPiece m_LeafPiece10 = new LeafPiece(); m_LeafPiece10.Init(new Vector2(3575, fifthFloor)); m_LeafPList.Add(m_LeafPiece10); LeafPiece m_LeafPiece14 = new LeafPiece(); m_LeafPiece14.Init(new Vector2(4100, secondFloor)); m_LeafPList.Add(m_LeafPiece14); LeafPiece m_LeafPiece12 = new LeafPiece(); m_LeafPiece12.Init(new Vector2(7300, secondFloor)); m_LeafPList.Add(m_LeafPiece12); LeafPiece m_LeafPiece13 = new LeafPiece(); m_LeafPiece13.Init(new Vector2(6900, secondFloor)); m_LeafPList.Add(m_LeafPiece13); LeafPiece m_LeafPiece8 = new LeafPiece(); m_LeafPiece8.Init(new Vector2(5000, secondFloor)); m_LeafPList.Add(m_LeafPiece8); LeafPiece m_LeafPiece11 = new LeafPiece(); m_LeafPiece11.Init(new Vector2(5900, fourthFloor)); m_LeafPList.Add(m_LeafPiece11); LeafPiece m_LeafPiece9 = new LeafPiece(); m_LeafPiece9.Init(new Vector2(6600, fourthFloor)); m_LeafPList.Add(m_LeafPiece9); //BeadPiece m_BeadPiece = new BeadPiece(); //m_BeadPiece.Init(new Vector2(1500, secondFloor)); //m_BeadPList.Add(m_BeadPiece); BeadPiece m_BeadPiece1 = new BeadPiece(); m_BeadPiece1.Init(new Vector2(3575, fourthFloor)); m_BeadPList.Add(m_BeadPiece1); BeadPiece m_BeadPiece2 = new BeadPiece(); m_BeadPiece2.Init(new Vector2(3575, secondFloor)); m_BeadPList.Add(m_BeadPiece2); BeadPiece m_BeadPiece3 = new BeadPiece(); m_BeadPiece3.Init(new Vector2(7150, secondFloor)); m_BeadPList.Add(m_BeadPiece3); SnowFall m_SnowFall2 = new SnowFall(); m_SnowFall2.Init(new Vector2(2750, firstFloor)); m_SnowFallList.Add(m_SnowFall2); SnowFall m_SnowFall1 = new SnowFall(); m_SnowFall1.Init(new Vector2(4040, firstFloor)); m_SnowFallList.Add(m_SnowFall1); Enemy m_Enemy = new Enemy(); m_Enemy.Init(new Vector2(1900, fourthFloor), 1800, 1850); m_Enemylist.Add(m_Enemy); Enemy m_Enemy1 = new Enemy(); m_Enemy1.Init(new Vector2(2100, fourthFloor), 1950, 2100); m_Enemylist.Add(m_Enemy1); Enemy m_Enemy2 = new Enemy(); m_Enemy2.Init(new Vector2(6100, fourthFloor), 6100, 6200); m_Enemylist.Add(m_Enemy2); Enemy m_Enemy3 = new Enemy(); m_Enemy3.Init(new Vector2(7100, thirdFloor), 7100, 7150); m_Enemylist.Add(m_Enemy3); Enemy m_Enemy4 = new Enemy(); m_Enemy4.Init(new Vector2(7200, thirdFloor), 7200, 7300); m_Enemylist.Add(m_Enemy4); }
public override void Init() { m_StageSize = (int)((m_tile.Length / 10 - (int)(800 / (283 * tileSize) + 1)) * 283 * tileSize); m_StageTile = m_tile; LeafPiece m_LeafPiece = new LeafPiece(); m_LeafPiece.Init(new Vector2(800, secondFloor)); m_LeafPieceList.Add(m_LeafPiece); LeafPiece m_LeafPiece1 = new LeafPiece(); m_LeafPiece1.Init(new Vector2(1000, secondFloor)); m_LeafPieceList.Add(m_LeafPiece1); LeafPiece m_LeafPiece2 = new LeafPiece(); m_LeafPiece2.Init(new Vector2(1400, secondFloor)); m_LeafPieceList.Add(m_LeafPiece2); LeafPiece m_LeafPiece3 = new LeafPiece(); m_LeafPiece3.Init(new Vector2(2050, secondFloor)); m_LeafPieceList.Add(m_LeafPiece3); LeafPiece m_LeafPiece4 = new LeafPiece(); m_LeafPiece4.Init(new Vector2(3225, secondFloor)); m_LeafPieceList.Add(m_LeafPiece4); BeadPiece m_beadPiece = new BeadPiece(); m_beadPiece.Init(new Vector2(2400, thirdFloor)); m_BeadPieceList.Add(m_beadPiece); //BeadPiece m_beadPiece1 = new BeadPiece(); //m_beadPiece1.Init(new Vector2(3740, thirdFloor)); //m_BeadPieceList.Add(m_beadPiece1); IcePick m_IcePick = new IcePick(); m_IcePick.Init(new Vector2(1400, secondFloor)); m_IcePickList.Add(m_IcePick); IcePick m_IcePick1 = new IcePick(); m_IcePick1.Init(new Vector2(2375, secondFloor)); m_IcePickList.Add(m_IcePick1); IcePick m_IcePick2 = new IcePick(); m_IcePick2.Init(new Vector2(2400, secondFloor)); m_IcePickList.Add(m_IcePick2); IcePick m_IcePick3 = new IcePick(); m_IcePick3.Init(new Vector2(2425, secondFloor)); m_IcePickList.Add(m_IcePick3); IcePick m_IcePick4 = new IcePick(); m_IcePick4.Init(new Vector2(3225, secondFloor)); m_IcePickList.Add(m_IcePick4); SnowFall m_SnowFall = new SnowFall(); m_SnowFall.Init(new Vector2(2050, firstFloor)); m_SnowFallList.Add(m_SnowFall); SnowFall m_SnowFall1 = new SnowFall(); m_SnowFall1.Init(new Vector2(3740, firstFloor)); m_SnowFallList.Add(m_SnowFall1); }
public override void Init() { m_StageSize = (int)((m_tile.Length / 10 - (int)(800 / (283 * tileSize) + 1)) * 283 * tileSize); m_StageTile = m_tile; IcePick m_IcePick = new IcePick(); m_IcePick.Init(new Vector2(900, secondFloor)); m_IcePickList.Add(m_IcePick); IcePick m_IcePick1 = new IcePick(); m_IcePick1.Init(new Vector2(700, secondFloor)); m_IcePickList.Add(m_IcePick1); IcePick m_IcePick2 = new IcePick(); m_IcePick2.Init(new Vector2(5300, secondFloor)); m_IcePickList.Add(m_IcePick2); IcePick m_IcePick3 = new IcePick(); m_IcePick3.Init(new Vector2(3050, secondFloor)); m_IcePickList.Add(m_IcePick3); IcePick m_IcePick4 = new IcePick(); m_IcePick4.Init(new Vector2(2600, thirdFloor)); m_IcePickList.Add(m_IcePick4); LeafPiece m_LeafPiece = new LeafPiece(); m_LeafPiece.Init(new Vector2(1000, secondFloor)); m_LeafPList.Add(m_LeafPiece); LeafPiece m_LeafPiece1 = new LeafPiece(); m_LeafPiece1.Init(new Vector2(2200, secondFloor)); m_LeafPList.Add(m_LeafPiece1); LeafPiece m_LeafPiece2 = new LeafPiece(); m_LeafPiece2.Init(new Vector2(1100, secondFloor)); m_LeafPList.Add(m_LeafPiece2); LeafPiece m_LeafPiece3 = new LeafPiece(); m_LeafPiece3.Init(new Vector2(5600, secondFloor)); m_LeafPList.Add(m_LeafPiece3); LeafPiece m_LeafPiece4 = new LeafPiece(); m_LeafPiece4.Init(new Vector2(3800, secondFloor)); m_LeafPList.Add(m_LeafPiece4); BeadPiece m_BeadPiece = new BeadPiece(); m_BeadPiece.Init(new Vector2(4470, fourthFloor)); m_BeadPList.Add(m_BeadPiece); BeadPiece m_BeadPiece1 = new BeadPiece(); m_BeadPiece1.Init(new Vector2(2100, secondFloor)); m_BeadPList.Add(m_BeadPiece1); Enemy m_Enemy = new Enemy(); m_Enemy.Init(new Vector2(500, thirdFloor), 400, 600); m_EnemyList.Add(m_Enemy); Enemy m_Enemy1 = new Enemy(); m_Enemy1.Init(new Vector2(2150, thirdFloor), 2100, 2150); m_EnemyList.Add(m_Enemy1); Enemy m_Enemy2 = new Enemy(); m_Enemy2.Init(new Vector2(3800, thirdFloor), 3700, 3800); m_EnemyList.Add(m_Enemy2); Enemy m_Enemy3 = new Enemy(); m_Enemy3.Init(new Vector2(5600, thirdFloor), 5600, 5700); m_EnemyList.Add(m_Enemy3); Enemy m_Enemy4 = new Enemy(); m_Enemy4.Init(new Vector2(5800, thirdFloor), 5800, 5900); m_EnemyList.Add(m_Enemy4); SnowFall m_SnowFall1 = new SnowFall(); m_SnowFall1.Init(new Vector2(4430, thirdFloor)); m_SnowFallList.Add(m_SnowFall1); }
public override void Init() { m_StageSize = (int)((m_tile.Length / 10 - (int)(800 / (283 * tileSize) + 1)) * 283 * tileSize); m_StageTile = m_tile; IcePick m_IcePick = new IcePick(); m_IcePick.Init(new Vector2(300, secondFloor)); m_IcePickList.Add(m_IcePick); IcePick m_IcePick1 = new IcePick(); m_IcePick1.Init(new Vector2(2500, secondFloor)); m_IcePickList.Add(m_IcePick1); IcePick m_IcePick2 = new IcePick(); m_IcePick2.Init(new Vector2(4300, secondFloor)); m_IcePickList.Add(m_IcePick2); IcePick m_IcePick3 = new IcePick(); m_IcePick3.Init(new Vector2(5525, secondFloor)); m_IcePickList.Add(m_IcePick3); IcePick m_IcePick4 = new IcePick(); m_IcePick4.Init(new Vector2(5650, secondFloor)); m_IcePickList.Add(m_IcePick4); IcePick m_IcePick5 = new IcePick(); m_IcePick5.Init(new Vector2(5775, secondFloor)); m_IcePickList.Add(m_IcePick5); IcePick m_IcePick6 = new IcePick(); m_IcePick6.Init(new Vector2(9100, secondFloor)); m_IcePickList.Add(m_IcePick6); IcePick m_IcePick7 = new IcePick(); m_IcePick7.Init(new Vector2(9500, secondFloor)); m_IcePickList.Add(m_IcePick7); IcePick m_IcePick8 = new IcePick(); m_IcePick8.Init(new Vector2(9700, secondFloor)); m_IcePickList.Add(m_IcePick8); IcePick m_IcePick9 = new IcePick(); m_IcePick9.Init(new Vector2(10380, secondFloor)); m_IcePickList.Add(m_IcePick9); IcePick m_IcePick10 = new IcePick(); m_IcePick10.Init(new Vector2(11500, secondFloor)); m_IcePickList.Add(m_IcePick10); IcePick m_IcePick11 = new IcePick(); m_IcePick11.Init(new Vector2(6230, secondFloor)); m_IcePickList.Add(m_IcePick11); IcePick m_IcePick12 = new IcePick(); m_IcePick12.Init(new Vector2(6260, secondFloor)); m_IcePickList.Add(m_IcePick12); IcePick m_IcePick13 = new IcePick(); m_IcePick13.Init(new Vector2(6290, secondFloor)); m_IcePickList.Add(m_IcePick13); IcePick m_IcePick14 = new IcePick(); m_IcePick14.Init(new Vector2(6320, secondFloor)); m_IcePickList.Add(m_IcePick14); IcePick m_IcePick15 = new IcePick(); m_IcePick15.Init(new Vector2(6350, secondFloor)); m_IcePickList.Add(m_IcePick15); IcePick m_IcePick16 = new IcePick(); m_IcePick16.Init(new Vector2(6380, secondFloor)); m_IcePickList.Add(m_IcePick16); IcePick m_IcePick17 = new IcePick(); m_IcePick17.Init(new Vector2(6410, secondFloor)); m_IcePickList.Add(m_IcePick17); IcePick m_IcePick18 = new IcePick(); m_IcePick18.Init(new Vector2(6440, secondFloor)); m_IcePickList.Add(m_IcePick18); IcePick m_IcePick19 = new IcePick(); m_IcePick19.Init(new Vector2(6470, secondFloor)); m_IcePickList.Add(m_IcePick19); IcePick m_IcePick20 = new IcePick(); m_IcePick20.Init(new Vector2(6500, secondFloor)); m_IcePickList.Add(m_IcePick20); IcePick m_IcePick21 = new IcePick(); m_IcePick21.Init(new Vector2(6530, secondFloor)); m_IcePickList.Add(m_IcePick21); BeadPiece m_BeadPiece = new BeadPiece(); m_BeadPiece.Init(new Vector2(9100, firstFloor)); m_BeadPList.Add(m_BeadPiece); BeadPiece m_BeadPiece1 = new BeadPiece(); m_BeadPiece1.Init(new Vector2(13000, secondFloor)); m_BeadPList.Add(m_BeadPiece1); BeadPiece m_BeadPiece2 = new BeadPiece(); m_BeadPiece2.Init(new Vector2(13500, secondFloor)); m_BeadPList.Add(m_BeadPiece2); BeadPiece m_BeadPiece3 = new BeadPiece(); m_BeadPiece3.Init(new Vector2(6300, firstFloor)); m_BeadPList.Add(m_BeadPiece3); LeafPiece m_LeafPiece = new LeafPiece(); m_LeafPiece.Init(new Vector2(1200, secondFloor)); m_LeafPList.Add(m_LeafPiece); LeafPiece m_LeafPiece1 = new LeafPiece(); m_LeafPiece1.Init(new Vector2(2200, secondFloor)); m_LeafPList.Add(m_LeafPiece1); LeafPiece m_LeafPiece2 = new LeafPiece(); m_LeafPiece2.Init(new Vector2(3200, thirdFloor)); m_LeafPList.Add(m_LeafPiece2); LeafPiece m_LeafPiece3 = new LeafPiece(); m_LeafPiece3.Init(new Vector2(4200, secondFloor)); m_LeafPList.Add(m_LeafPiece3); LeafPiece m_LeafPiece4 = new LeafPiece(); m_LeafPiece4.Init(new Vector2(5200, secondFloor)); m_LeafPList.Add(m_LeafPiece4); LeafPiece m_LeafPiece5 = new LeafPiece(); m_LeafPiece5.Init(new Vector2(6200, secondFloor)); m_LeafPList.Add(m_LeafPiece5); LeafPiece m_LeafPiece6 = new LeafPiece(); m_LeafPiece6.Init(new Vector2(7200, secondFloor)); m_LeafPList.Add(m_LeafPiece6); LeafPiece m_LeafPiece7 = new LeafPiece(); m_LeafPiece7.Init(new Vector2(8200, secondFloor)); m_LeafPList.Add(m_LeafPiece7); LeafPiece m_LeafPiece8 = new LeafPiece(); m_LeafPiece8.Init(new Vector2(9200, secondFloor)); m_LeafPList.Add(m_LeafPiece8); LeafPiece m_LeafPiece9 = new LeafPiece(); m_LeafPiece9.Init(new Vector2(10200, secondFloor)); m_LeafPList.Add(m_LeafPiece9); LeafPiece m_LeafPiece10 = new LeafPiece(); m_LeafPiece10.Init(new Vector2(11200, secondFloor)); m_LeafPList.Add(m_LeafPiece10); LeafPiece m_LeafPiece11 = new LeafPiece(); m_LeafPiece11.Init(new Vector2(12200, secondFloor)); m_LeafPList.Add(m_LeafPiece11); LeafPiece m_LeafPiece12 = new LeafPiece(); m_LeafPiece12.Init(new Vector2(13200, secondFloor)); m_LeafPList.Add(m_LeafPiece12); LeafPiece m_LeafPiece13 = new LeafPiece(); m_LeafPiece13.Init(new Vector2(9700, secondFloor)); m_LeafPList.Add(m_LeafPiece13); LeafPiece m_LeafPiece14 = new LeafPiece(); m_LeafPiece14.Init(new Vector2(200, secondFloor)); m_LeafPList.Add(m_LeafPiece14); SnowFall m_SnowFall1 = new SnowFall(); m_SnowFall1.Init(new Vector2(1650, firstFloor)); m_SnowFallList.Add(m_SnowFall1); SnowFall m_SnowFall2 = new SnowFall(); m_SnowFall2.Init(new Vector2(11070, firstFloor)); m_SnowFallList.Add(m_SnowFall2); Enemy m_Enemy = new Enemy(); m_Enemy.Init(new Vector2(4500, thirdFloor), 4450, 4600); m_Enemylist.Add(m_Enemy); Enemy m_Enemy5 = new Enemy(); m_Enemy5.Init(new Vector2(8300, thirdFloor), 8200, 8400); m_Enemylist.Add(m_Enemy5); Enemy m_Enemy1 = new Enemy(); m_Enemy1.Init(new Vector2(12500, thirdFloor), 12450, 12550); m_Enemylist.Add(m_Enemy1); Enemy m_Enemy2 = new Enemy(); m_Enemy2.Init(new Vector2(12700, thirdFloor), 12600, 12750); m_Enemylist.Add(m_Enemy2); Enemy m_Enemy3 = new Enemy(); m_Enemy3.Init(new Vector2(12900, thirdFloor), 12800, 12900); m_Enemylist.Add(m_Enemy3); Enemy m_Enemy4 = new Enemy(); m_Enemy4.Init(new Vector2(13100, thirdFloor), 13000, 13100); m_Enemylist.Add(m_Enemy4); }