First commit from eclipse...
[libtubby.git] / src / tubbydemo / TeletubbyFamily.java
blob09dcd412a460c3829ac0f0026580fbd22f807ea8
1 /*
2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
4 */
5 package tubbydemo;
7 import lib.teletubbies.*;
9 /**
11 * @author samis
13 public class TeletubbyFamily {
15 private Teletubby father;
16 private Teletubby mother;
17 private Noo_Noo family_noo_noo;
19 public TeletubbyFamily(Teletubby dad, Teletubby mum) {
20 this.father = dad;
21 this.mother = mum;
22 this.family_noo_noo = new Noo_Noo(100, 100);
25 public TeletubbyFamily(Teletubby mum, Teletubby dad, Noo_Noo noo_noo) {
26 this(dad, mum);
29 public Teletubby getFather() {
30 return father;
33 public void set_noo_noo(Noo_Noo family_noo_noo) {
34 this.family_noo_noo = family_noo_noo;
37 public void setFather(Teletubby father) {
38 this.father = father;
41 public Noo_Noo get_noo_noo() {
42 return family_noo_noo;
45 public Teletubby getMother() {
46 return mother;
49 public void setMother(Teletubby mother) {
50 this.mother = mother;