public class MusicPlayerPluginImpl extends java.lang.Object implements MusicPlayerPluginWithVolumeControl
Modifier and Type | Field and Description |
---|---|
static java.lang.Object |
CAMPAIGN_HYPERSPACE |
static java.lang.Object |
CAMPAIGN_SYSTEM |
static java.lang.Object |
COMBAT |
static java.lang.Object |
CUSTOM |
static java.lang.Object |
ENCOUNTER |
static java.lang.String |
KEEP_PLAYING_LOCATION_MUSIC_DURING_ENCOUNTER_MEM_KEY |
static java.lang.Object |
MARKET |
static java.lang.String |
MUSIC_ENCOUNTER_MYSTERIOUS_AGGRO |
static java.lang.String |
MUSIC_ENCOUNTER_MYSTERIOUS_NON_AGGRESSIVE |
static java.lang.String |
MUSIC_ENCOUNTER_NEUTRAL |
static java.lang.String |
MUSIC_SET_MEM_KEY |
static java.lang.Object |
NO_MUSIC |
static java.lang.Object |
PLANET_SURVEY |
static java.util.Map<java.lang.String,java.lang.String> |
stringTokens |
static java.lang.String |
SYSTEM_MUSIC_PREFIX |
static java.lang.Object |
TITLE |
Constructor and Description |
---|
MusicPlayerPluginImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getEncounterMusicSetId(java.lang.Object param) |
protected java.lang.String |
getHyperspaceMusicSetId() |
protected java.lang.String |
getMarketMusicSetId(java.lang.Object param) |
java.lang.String |
getMusicSetIdForCampaignStateToken(java.lang.Object token,
java.lang.Object param)
Called for the following states:
MusicPlayerPluginImpl.MARKET
MusicPlayerPluginImpl.ENCOUNTER
MusicPlayerPluginImpl.PLANET_SURVEY
MusicPlayerPluginImpl.CAMPAIGN_SYSTEM
MusicPlayerPluginImpl.CAMPAIGN_HYPERSPACE
...
|
java.lang.String |
getMusicSetIdForCombat(CombatEngineAPI engine) |
java.lang.String |
getMusicSetIdForTitle() |
float |
getMusicSetVolumeForCampaignStateToken(java.lang.Object token,
java.lang.Object param) |
protected java.lang.String |
getPlanetSurveyMusicSetId(java.lang.Object param) |
protected java.lang.String |
getStarSystemMusicSetId() |
java.lang.Object |
getStateTokenForCampaignLocation()
Called when free-flying in the campaign only, i.e.
|
static java.lang.Object |
getToken(java.lang.String str)
Goal here is to return tokens for which an == comparison works.
|
public static java.lang.String KEEP_PLAYING_LOCATION_MUSIC_DURING_ENCOUNTER_MEM_KEY
public static java.lang.String MUSIC_SET_MEM_KEY
public static java.lang.String MUSIC_ENCOUNTER_MYSTERIOUS_AGGRO
public static java.lang.String MUSIC_ENCOUNTER_MYSTERIOUS_NON_AGGRESSIVE
public static java.lang.String MUSIC_ENCOUNTER_NEUTRAL
public static java.lang.Object CAMPAIGN_SYSTEM
public static java.lang.Object CAMPAIGN_HYPERSPACE
public static java.lang.Object NO_MUSIC
public static java.lang.Object COMBAT
public static java.lang.Object TITLE
public static java.lang.Object MARKET
public static java.lang.Object ENCOUNTER
public static java.lang.Object PLANET_SURVEY
public static java.lang.Object CUSTOM
public static java.util.Map<java.lang.String,java.lang.String> stringTokens
public static java.lang.String SYSTEM_MUSIC_PREFIX
public static java.lang.Object getToken(java.lang.String str)
str
- public java.lang.Object getStateTokenForCampaignLocation()
MusicPlayerPlugin
getStateTokenForCampaignLocation
in interface MusicPlayerPlugin
public java.lang.String getMusicSetIdForCombat(CombatEngineAPI engine)
getMusicSetIdForCombat
in interface MusicPlayerPlugin
public java.lang.String getMusicSetIdForTitle()
getMusicSetIdForTitle
in interface MusicPlayerPlugin
public float getMusicSetVolumeForCampaignStateToken(java.lang.Object token, java.lang.Object param)
getMusicSetVolumeForCampaignStateToken
in interface MusicPlayerPluginWithVolumeControl
public java.lang.String getMusicSetIdForCampaignStateToken(java.lang.Object token, java.lang.Object param)
MusicPlayerPlugin
getMusicSetIdForCampaignStateToken
in interface MusicPlayerPlugin
protected java.lang.String getPlanetSurveyMusicSetId(java.lang.Object param)
param
- is a MarketAPI.protected java.lang.String getHyperspaceMusicSetId()
protected java.lang.String getStarSystemMusicSetId()
protected java.lang.String getEncounterMusicSetId(java.lang.Object param)
protected java.lang.String getMarketMusicSetId(java.lang.Object param)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.