package com.example.myapplication;

import androidx.appcompat.app.AppCompatActivity;

import android.app.Activity;
import android.os.Bundle;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        Fenetre vue = findViewById(R.id.vue);
        Pois controleur = new Pois();
        controleur.setVue(vue);
        vue.setControleur(controleur);
        vue.setOnTouchListener(controleur);
    }
}