100coding
3/31/2017 - 12:42 AM

F8C4F859-7F5B-4AB5-8D8F-43F92F03FBE4

F8C4F859-7F5B-4AB5-8D8F-43F92F03FBE4

public class Enemy
{
    Player player;

    public Enemy(Player player_injection)
    {
        this.player = player_injection;
    }

    public void Update()
    {
        //...
        WalkTowards(this.player.Position);
        // ...
    }
}