Category:Classes: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (linked the german translation)
mNo edit summary
Line 1: Line 1:
{{otherlang2
{{lang|Category:Classes}}
|de=Category:Classes:de
}}
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.
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.



Revision as of 17:45, 15 November 2022

English (en)Deutsch (de)Español (es)Русский (ru)中文 (zh)Translate (Translate)

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.

Subcategories

This category has only the following subcategory.

V