Click or drag to resize
Prototypes Class
Manage GameObject prototypes that we can spawn.
Inheritance Hierarchy
SystemObject
  GeonBit.ManagersPrototypes

Namespace:  GeonBit.Managers
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class Prototypes : IManager

The Prototypes type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberInstance
Get Prototypes instance.
Top
Methods
  NameDescription
Public methodDraw
Called every frame during the Draw() process.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFixedUpdate
Called every constant X seconds during the Update() phase.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Init Prototypes manager.
Public methodRegister(GameObject, String)
Register a prototype from a GameObject instance.
Public methodRegister(GameObjectGenerator, String)
Register a prototype from a function to generate a GameObject.
Public methodRemove
Remove a prototype.
Public methodSpawn
Spawn a prototype instance. Note: parent of new GameObject will be null.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Update current time.
Top
See Also