Method name for drawing Score, Lives, etc.

Hello everyone.
Out of curiosity, what single word would you use to refer to Score, Lives, High Score, Time, Power, etc. together? Basically, if you were to create a method that draws the values ​​of these variables on the screen, what would you call this method? Maybe DrawInfo()? Or DrawStatistics()?

I read the first line and thought Info… and then that’s what you wrote. So there’s that :wink:

What did you name the class where these values live?

Some of them live in a class called Gameplay, others in a class called Player.

I’d go with DrawInfo() or DrawStats(). DrawStatistcs() is too long for me, even if I’m only calling it once.

Yea, sounds like info works. Probably best not to overthink it. Haha honestly, call it DrawSplorf() and you can F2 rename it later :wink:

DrawUserInterface
DrawStateData

DrawText

Thanks to everyone for the feedback.
In my game, different types of information and messages are displayed, not only Score, Lives, Stages, etc. I need to create a method that only draws the values ​​of Score, Lives, Stages, and the like, and not everything else. This method is called at various places in the code. DrawStats() seems to me more suitable in this case, while DrawInfo(), DrawUserInterface(), DrawStateData() and DrawText() seem to me too general and make me think of a method that draws all the information and messages.

And what about DrawCountables() or DrawCounts()?. English is not my language so I’d like to know your opinions.

:stuck_out_tongue:

Certainly! I was just curious about the opinion of others. Coding is certainly not stopped because of this.

I like this topic!

Mine does… but i have absolutely no idea what I’m doing :joy:

i’ll forget method names even if i overthink them so you are 100% correct in my opinion!

Definitely this!

I still like DrawStats best. :grin:

And the winner is… DrawStats() !!!

Opportunity lost to go with DrawStuff :wink:

Why not DrawStuts or DrawStaff? :grinning:

DrawTheThingIWasThinkingAboutWhenIWasConstructingThisFunction()

DrawTheThingIWasThinkingAboutWhenIWasConstructingThisFunction()

:rofl: