public override void DrawGhost(ThingDef def, IntVec3 center, Rot4 rot)
        {
            //JoyGiverDef joyGiverDef = DefDatabase<JoyGiverDef>.GetNamed("PracticeShooting");

            GenDraw.DrawFieldEdges(Utility_PositionFinder.FindAllWatchBuildingCells(center, Find.VisibleMap, def.rotatable, rot, def.building.watchBuildingStandDistanceRange).ToList <IntVec3>());
        }
コード例 #2
0
        public IEnumerable <IntVec3> CalculateShootingCells()
        {
            JoyGiverDef joyGiverDef = this.GetJoyGiverDef();

            return(Utility_PositionFinder.FindAllWatchBuildingCells(this, this.def.building.watchBuildingStandDistanceRange));
        }
コード例 #3
0
        public override void DrawGhost(ThingDef def, IntVec3 center, Rot4 rot, Color ghostCol, Thing thing = null)
        {
            //JoyGiverDef joyGiverDef = DefDatabase<JoyGiverDef>.GetNamed("PracticeMartialArts");

            GenDraw.DrawFieldEdges(Utility_PositionFinder.FindAllWatchBuildingCells(center, Find.CurrentMap, def.rotatable, rot, def.building.watchBuildingStandDistanceRange).ToList <IntVec3>(), ghostCol);
        }