added resources
fixed infinite loops in creature.cs player.cs