示例#1
0
 public BumperEntityPoly(CRUSTEngine.ProjectEngines.PCGEngine.PlayabilityManagers.EntraPlay.EntraAgentSimple entraAgentSimple, object compObj)
     : base(entraAgentSimple, compObj)
 {
     _adders = new List <CompEntityPoly>();
 }
 public EntityBuilder(CRUSTEngine.ProjectEngines.PCGEngine.PlayabilityManagers.EntraPlay.EntraAgentSimple entraAgentSimple)
 {
     _entraAgentSimple = entraAgentSimple;
     this._engineState = entraAgentSimple.EngineState;
 }
 public ProjectionHandler(CRUSTEngine.ProjectEngines.PCGEngine.PlayabilityManagers.EntraPlay.EntraAgentSimple entraAgentSimple)
 {
     _entraAgentSimple = entraAgentSimple;
 }
示例#4
0
 public CompEntityPoly(CRUSTEngine.ProjectEngines.PCGEngine.PlayabilityManagers.EntraPlay.EntraAgentSimple entraAgentSimple, object compObj)
 {
     this.EntraAgentSimple = entraAgentSimple;
     this.CompObj          = compObj;
 }
示例#5
0
 public BubbleEntityPoly(CRUSTEngine.ProjectEngines.PCGEngine.PlayabilityManagers.EntraPlay.EntraAgentSimple entraAgentSimple, object compObj)
     : base(entraAgentSimple, compObj)
 {
 }
示例#6
0
        public void ReAddCoveredBumpsToBeProcessed(ref List <List <IntPoint> > initialPoly,
                                                   List <List <IntPoint> > spaceSoFar, CRUSTEngine.ProjectEngines.PCGEngine.PlayabilityManagers.EntraPlay.EntraAgentSimple entraAgentSimple)
        {
            List <BumperEntityPoly> rBumpers = entraAgentSimple.BumpersHandler.GetReachableBumpers(spaceSoFar,
                                                                                                   entraAgentSimple.AllCompsEntities);

            foreach (BumperEntityPoly bumperEntityPoly in rBumpers)
            {
                if (EntraSolver.IsPolyOperation(this.GetAreaPoly(), bumperEntityPoly.GetDefPoly(),
                                                ClipType.ctIntersection))
                {
                    //this.EntraAgentSimple.BumpersHandler.processedBumps.Remove(bumperEntityPoly);
                }
            }
        }
 public BumpersHandler(CRUSTEngine.ProjectEngines.PCGEngine.PlayabilityManagers.EntraPlay.EntraAgentSimple entraAgentSimple)
 {
     _entraAgentSimple = entraAgentSimple;
     //processedBumps = new List<BumperEntityPoly>();
 }