예제 #1
0
 public PlayerSession(World world, Guid guid, PlayerState playerstate)
 {
     this.world = world;
     this.guid = guid;
     this.playerstate = playerstate;
 }
예제 #2
0
파일: World.cs 프로젝트: mixxit/EverRPG
        public PlayerState LoadPlayerState(Guid guid)
        {
            Location location = World.Instance.GetFreeLocation();
            PlayerState playerstate = new PlayerState(guid, location);
            World.Instance.playerstates.Add(playerstate);

            return playerstate;
        }