Ejemplo n.º 1
0
        internal override Vector2 target_loc(int target)
        {
            // Drop
            if (mode == 1)
            {
                return(new Vector2(target % Global.game_map.width, target / Global.game_map.width));
            }

            Combat_Map_Object unit1 = Global.game_map.attackable_map_object(target);

            return(unit1.loc_on_map());
        }
Ejemplo n.º 2
0
        internal override Vector2 target_loc(int target)
        {
            Combat_Map_Object unit1 = Global.game_map.attackable_map_object(target);

            return(unit1.loc_on_map());
        }