コード例 #1
0
        public static Battle_Animation_Variable_Set Read(BinaryReader input)
        {
            Battle_Animation_Variable_Set result = new Battle_Animation_Variable_Set();

            result.AnimDefinition = (AttackAnims)input.ReadInt16();
            result.Animation.read(input);

            return(result);
        }
コード例 #2
0
        internal bool compare(Battle_Animation_Variable_Set other)
        {
            if (AnimDefinition != other.AnimDefinition)
            {
                return(false);
            }
            if (!Animation.compare(other.Animation))
            {
                return(false);
            }

            return(true);
        }
コード例 #3
0
 public Battle_Animation_Variable_Set(Battle_Animation_Variable_Set other)
 {
     AnimDefinition = other.AnimDefinition;
     Animation      = new List <int>(other.Animation);
 }