C# Class AGS.Types.Game

Inheritance: IGame
Afficher le fichier Open project: adventuregamestudio/ags Class Usage Examples

Private Properties

Свойство Type Description
FindHighestViewNumber int
InitializeDefaultPalette void
IsNameUsedByAudioClip bool
IsNameUsedByView bool

Méthodes publiques

Méthode Description
ConvertCoordinatesToNativeResolution ( ) : void

WARNING: Only call this if an old game has just been loaded in, otherwise all sizes will get doubled!!!

CreateNewView ( IViewFolder createInFolder ) : AGS.Types.View
DoesRoomNumberAlreadyExist ( int roomNumber ) : bool
FindAndAllocateAvailableViewID ( ) : int

Returns an unused View ID and allocates it as in use

FindAudioClipForOldMusicNumber ( IList allAudio, int musicNumber ) : AGS.Types.AudioClip
FindAudioClipForOldSoundNumber ( IList allAudio, int soundNumber ) : AGS.Types.AudioClip
FindCharacterByID ( int charID ) : AGS.Types.Character
FindFirstAvailableRoomNumber ( int startingFromNumber ) : int
FindRoomByID ( int roomNumber ) : AGS.Types.UnloadedRoom
FindViewByID ( int viewNumber ) : AGS.Types.View

Returns the View object associated with the supplied ID

FromXml ( XmlNode node ) : void
Game ( ) : System
GetAllGameAndLoadedRoomScripts ( ) : List