CampfireParty.Building_Pyre.Draw C# (CSharp) Method

Draw() public method

public Draw ( ) : void
return void
        public override void Draw()
        {
            base.Draw();

            for (int fireIndex = 0; fireIndex < fireMaxNumber; fireIndex++)
            {
                if (this.fireTexture[fireIndex] != null)
                {
                    Graphics.DrawMesh(MeshPool.plane10, this.fireMatrix[fireIndex], this.fireTexture[fireIndex], 0);
                }
            }

            // Draw party and beer search area when selected.
            if (Find.Selector.IsSelected(this))
            {
                DrawPartyAndBeerSearchAreas(this.Position);
            }
        }