Exemple #1
0
        internal void Init(bool _isMine, IHeroSDS _sds, int _x, int _y, int _nowHp)
        {
            isMine = _isMine;

            fix = isMine ? 1 : -1;

            sds = _sds;

            x = _x;

            y = _y;

            nowHp = _nowHp;

            moveNum = sds.GetMove();
        }
Exemple #2
0
        internal void Init(bool _isMine, IHeroSDS _sds, int _x)
        {
            isMine = _isMine;

            fix = isMine ? 1 : -1;

            sds = _sds;

            x = _x;

            y = isMine ? 0 : BattleConst.mapWidth - 1;

            nowHp = _sds.GetHp();

            moveNum = sds.GetMove();
        }