Move PlayVoice and PlayVoiceLocal from Sound to Voiced.
Move HasVoice, HasVoices and GetVoices from WorldUtils to Voiced.
This commit is contained in:
@@ -109,7 +109,15 @@ namespace OpenRA.Traits
|
||||
|
||||
public interface ISeedableResource { void Seed(Actor self); }
|
||||
|
||||
public interface IVoiced { string VoiceSet { get; } }
|
||||
public interface IVoiced
|
||||
{
|
||||
bool PlayVoice(string phrase, Actor voicedActor, string variant);
|
||||
bool PlayVoiceLocal(string phrase, Actor voicedActor, string variant, WPos pos, float volume);
|
||||
bool HasVoices(Actor actor);
|
||||
bool HasVoice(Actor actor, string voice);
|
||||
string VoiceSet { get; }
|
||||
}
|
||||
|
||||
public interface IDemolishableInfo { bool IsValidTarget(ActorInfo actorInfo, Actor saboteur); }
|
||||
public interface IDemolishable
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user