Exemple #1
0
 private void BornAvatar()
 {
     if (Constants.GAME_MODE)
     {
         Avatar        = new Avatar(CurrentLayer);
         AvatarBlockId = CurrentLayer.GetAvatarStartingBlockId();
         CreatureManager.AddCreature(Avatar, AvatarBlockId * Constants.MAP_BLOCK_SIZE, Point.Zero, CurrentLayer);
         LiveMap.Actualize();
     }
 }