﻿using UnityEngine;
using System.Collections;

public class GetJob : MonoBehaviour {

	public int myJob = 0;
	public GameObject myJobPlace;
	// Use this for initialization
	void Start () {
	

	}
	
	// Update is called once per frame
	void Update () {
	
	}

	public GameObject returnJobPlace(){

		if (myJobPlace != null)
			return myJobPlace;

		return null;

	}



	public int returnJobNumber(){
		return myJob;


	}

	public void setJobPlace(GameObject o){
		myJobPlace = o;
	}

	public void setJob(int i){

		myJob = i;
		if (i == 1)
			print ("now i work as a waiter!");

		if (i == 2)
			print ("now i work as a counter officer");

		if (i == 3)
			print ("now i work as a standardist");

		if (i == 4)
			print ("now i work in a McDonalds!");

		if (i == 5)
			print ("now im workin in a fuckin factory!!");

		if (i == 6)
			print ("now im a bus driver");


		if (i == 7)
			print ("now im a pilot.");



	}
}
