Exemplo n.º 1
0
        public Adventure(ActorInfomation actor_infomation , Remoting.ISoulBinder binder, IMap zone)
        {
            _ActorInfomation = actor_infomation;
            _Map = zone;

            this._Binder = binder;

            _Entity = new Entity(_ActorInfomation.Id);
        }
Exemplo n.º 2
0
 public Teammate(ActorInfomation actor)
 {
     _Prototype = actor.Prototype;
     var prototypeActor = ActorResource.Instance.Find(actor.Prototype);
     _ActivitiesSkills = new Dictionary<int, Skill>();
     _Ability = prototypeActor.FindAbility(actor.Exp);
     _Hp = _Ability.Hp;
     _Specializes = prototypeActor.Specializes;
     _Weakness = prototypeActor.Weakness;
     _Hit = 0;
     _Combo = 0;
 }
Exemplo n.º 3
0
        public Battle(IBattleAdmissionTickets battle_admission_tickets, ActorInfomation actor_infomation, Remoting.ISoulBinder binder, IStorage stroage)
        {
            _BattleAdmissionTickets = battle_admission_tickets;
            _ActorInfomation = actor_infomation;
            _Binder = binder;

            _Storage = stroage;
        }
Exemplo n.º 4
0
 Remoting.Value<ActorInfomation> IParking.SelectActor(string name)
 {
     var a = new ActorInfomation() { Id = Guid.NewGuid(), Name = name };
     SelectCompiledEvent(a);
     return a;
 }
Exemplo n.º 5
0
        void _ToAdventure(ActorInfomation actor_infomation)
        {
            var stage = new Regulus.Project.Crystal.Game.Stage.Adventure(actor_infomation , Binder, _Zone);
            stage.ToBattleStageEvent += _ToBattle;
            stage.ParkingEvent += () => { _ToParking(_AccountInfomation); };
            _StageMachine.Push(stage);

            _ActorInfomation = actor_infomation;
            _StatusEvent(UserStatus.Adventure);
        }