コード例 #1
0
 public ShootingTrap LoadShootingTrap(Point position, ShootingTrap.FaceDirection dir)
 {
     if (m_tGen == null)
         m_tGen = new TrapGenerator(m_lvl);
     return m_tGen.GenerateShootingTrap(position, dir);
 }
コード例 #2
0
 public StaticTrap LoadStaticTrap(Point position)
 {
     if (m_tGen == null)
         m_tGen = new TrapGenerator(m_lvl);
     return m_tGen.GenerateStaticTrap(position);
 }
コード例 #3
0
 public RisingTrap LoadRisingTrap(Point position)
 {
     if (m_tGen == null)
         m_tGen = new TrapGenerator(m_lvl);
     return m_tGen.GenerateRisingTrap(position);
 }