|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMicrosoft.Xna.Framework.GameServiceContainer
public class GameServiceContainer
A collection of game services.
Constructor Summary | |
---|---|
GameServiceContainer()
Initializes a new instance of this class, which represents a collection of game services. |
Method Summary | |
---|---|
void |
AddService(java.lang.Class type,
java.lang.Object provider)
Adds a service to the GameServiceContainer. |
java.lang.Object |
GetService(java.lang.Class type)
Gets the object providing a specified service. |
void |
RemoveService(java.lang.Class type)
Removes the object providing a specified service. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GameServiceContainer()
Method Detail |
---|
public void AddService(java.lang.Class type, java.lang.Object provider)
type
- The type of service to add.provider
- The service provider to add.public java.lang.Object GetService(java.lang.Class type)
GetService
in interface System.IServiceProvider
type
- The type of service.public void RemoveService(java.lang.Class type)
type
- The type of service.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |