public Board(MazeMaster master, outerboardxxi xxi) { this.master = master; this.xxi = xxi; ResetGen(); }
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; }
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; }
public void FactionSetup(int faction, MazeMaster master, twin cell_pos) { Setup(master, cell_pos); SetFaction(faction); }
public void Setup(MazeMaster master, twin cell_pos, AStarPather pather) { this.pather = pather; base.Setup(master, cell_pos); }
public void MazerSetup(MazeMaster master, twin cell_pos) { this.Setup(master, cell_pos); }