Esempio n. 1
0
        public Action_group get_for_moment(
            BigInteger moment,
            float mood = 0f
            )
        {
            Action_group new_group = this.provide_new <Action_group>();

            new_group.moment = moment;
            new_group.mood   = mood;
            return(new_group);
        }
Esempio n. 2
0
        public Action_group create_next_action_group(float in_mood = 0f)
        {
            Action_group new_group =
                action_group_prefab.get_for_moment(
                    last_moment + 1
                    );

            new_group.init_mood(in_mood);
            place_new_action_group(new_group);
            simple_history.add_next_action_group(new_group);
            return(new_group);
        }
Esempio n. 3
0
 private void place_new_action_group(Action_group in_group)
 {
     in_group.transform.parent   = transform;
     in_group.transform.position = carret.position;
     carret.Translate(action_group_offset);
 }