コード例 #1
0
        public static Drunkard clone(Role toClone, SimDescription actor)
        {
            Drunkard newRole = new Drunkard(toClone.Data, actor, toClone.RoleGivingObject);

            newRole.StartRole();
            return(newRole);
        }
コード例 #2
0
 public static Drunkard clone(Role toClone, SimDescription actor)
 {
     Drunkard newRole = new Drunkard(toClone.Data, actor, toClone.RoleGivingObject);
     newRole.StartRole();
     return newRole;
 }