Category:Classes: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) No edit summary |
No edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
A '''[[Wikipedia:C++ classes|class]]''' is a | {{lang|Category:Classes}} | ||
A C++ '''[[Wikipedia:C++ classes|class]]''' is a blueprint from which actual "objects" are "instanced" at run-time. Every [[npc_combine_s]] object is an instance of the <code>[[CNPC_CombineS]]</code> class, for example. | |||
When a class can be evaluated (e.g. equals, greater than, less than...) it becomes | * When a class can be evaluated (e.g. equals, greater than, less than...) it becomes a [[:Category:Variables|variable]]. | ||
* If a class is designed to be accessed by the engine, it becomes an [[:Category:Interfaces|interface]]. | |||
[[Category: | [[Category:C++]] | ||
{{cleanup|[[:Category:Source class]] can be a better name}} |
Latest revision as of 00:43, 9 April 2023
A C++ class is a blueprint from which actual "objects" are "instanced" at run-time. Every npc_combine_s object is an instance of the CNPC_CombineS
class, for example.
- When a class can be evaluated (e.g. equals, greater than, less than...) it becomes a variable.
- If a class is designed to be accessed by the engine, it becomes an interface.

This article or section needs to be cleaned up to conform to a higher standard of quality because:
Category:Source class can be a better name
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.Pages in category "Classes"
The following 23 pages are in this category, out of 23 total.