You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: city.rs
    path of file: ./repos/game-dev-with-rust/missile-commander/src/entity
    
    the code of the file until where you have to start completion: use crate::BASE_LENGTH;
use macroquad::prelude::*;

pub struct City {
    position: Vec2,
    size: Vec2,
}

impl City {
    pub fn new(position: Vec2, size: Vec2) -> Self {
        Self { position, size }
    }
    pub fn draw(&self) {
        draw_recta
    
pub fn create_buildings() -> Vec<City> {
    let heights = [30., 25., 60., 40., 45., 55., 70., 20.];
    let mut buildings: Vec<City> = Vec::new();
    let mut position = Vec2::new(0., screen_height());
    let build_count = screen_width() / BASE_LENGTH;
    for _ in 0..build_count as i32 {
        let r = rand::gen_range(0, heights.len());
        position.y = screen_height() - heights[r];
        let city = City::new(position, Vec2::new(BASE_LENGTH, heights[r]));
        buildings.push(city);
        position.x += BASE_LENGTH;
    }
    buildings
}