public void render_texture() { if (this.house == null) { this.house = new RealHouse(this.texture_file, this.location); } this.house.render_texture(); }
public void get_location() { // lazy initilization if (this.house == null) { this.house = new RealHouse(this.texture_file, this.location); } this.house.get_location(); }