package fr.sma.zombifier.behavior;

import fr.sma.zombifier.core.Entity;
import fr.sma.zombifier.event.Event;
import fr.sma.zombifier.world.Neighborhood;
import fr.sma.zombifier.world.Platform;

/**
 * Base class for all behaviour.
 * 
 * @author Alexandre Rabérin - Adrien Pierreval
 */
public abstract class BaseBehaviour implements IBehaviour
{
    /** Entity using this behaviour. */
    protected final Entity m_entity;
    protected BaseBehaviour m_nextBehaviour;

    /**
     * Constructor.
     * @param e Entity concerned by the current behaviour.
     */
    public BaseBehaviour(Entity e)
    {
        this.m_entity = e;
        m_nextBehaviour = null;
    }
}

@@ -69,129 +69,8 @@
 ity;
-%0Aimport fr.sma.zombifier.event.Event;%0Aimport fr.sma.zombifier.world.Neighborhood;%0Aimport fr.sma.zombifier.world.Platform;
 %0A%0A/*
@@ -536,12 +536,12 @@
 r = 
-null
+this
 ;%0A  

Corrige un nullpointer et des imports inutiles