- using Blue;
- public class LoadMapFileCommand : ICommand
- {
- private string mFileName;
- public LoadMapFileCommand(string fileName)
- {
- mFileName = fileName;
- }
- public void OnExcute()
- {
- this.TriggerEvent<LoadMapFileEvent>(new LoadMapFileEvent(){fileName = mFileName});
- }
- }
|