示例#1
0
        public Board(MazeMaster master, outerboardxxi xxi)
        {
            this.master = master;
            this.xxi    = xxi;

            ResetGen();
        }
示例#2
0
 public static void PillShootSetup(MazeMaster master, InsiderBasicAgent agent, Vector3 position, twin shootdir)
 {
     agent.Setup(master, twin.zero);
     agent.transform.position = position + shootdir;
     agent.body.velocity      = agent.GetComponent <PillData>().bullet_velocity = 70 * (Vector2)shootdir;
     agent.GetComponent <SpriteRenderer>().flipX = Random.value < .5f;
 }
示例#3
0
 public void FactionSetup(int faction, MazeMaster master, twin cell_pos)
 {
     this.faction = faction;
     if (this.faction == 2)
     {
         spriter.sprite = blueboySprite;
     }
     Setup(master, cell_pos);
     GetComponent <DotFactionizer>().faction = faction;
 }
示例#4
0
 public void FactionSetup(int faction, MazeMaster master, twin cell_pos)
 {
     Setup(master, cell_pos);
     SetFaction(faction);
 }
示例#5
0
 public void Setup(MazeMaster master, twin cell_pos, AStarPather pather)
 {
     this.pather = pather;
     base.Setup(master, cell_pos);
 }
示例#6
0
 public void MazerSetup(MazeMaster master, twin cell_pos)
 {
     this.Setup(master, cell_pos);
 }