První 3 monstra z plánovaných pěti. Kompletní pathfinding i zrcadlení do clienta. Útoky implementované nejsou. Lurk a Neko jsou hardcoded aby útočili na P1.
This commit is contained in:
parent
4484b127c5
commit
9bfe63a166
27 changed files with 772 additions and 47 deletions
|
|
@ -69,9 +69,7 @@ public class UIElement {
|
|||
|
||||
currentTextureId = textureId;
|
||||
}
|
||||
public void Update() {
|
||||
|
||||
}
|
||||
public virtual void Update() { }
|
||||
|
||||
public bool IsWithinBounds(Point pos) {
|
||||
return pos.X >= Math.Min(screenSpaceBounds.Item1.X, screenSpaceBounds.Item2.X) && pos.X <= Math.Max(screenSpaceBounds.Item1.X, screenSpaceBounds.Item2.X) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue