Renderování textu, jumpscary, win a lose screen
This commit is contained in:
parent
9bfe63a166
commit
e6128dc9f5
21 changed files with 360 additions and 84 deletions
|
|
@ -6,11 +6,12 @@ using MonoGameLibrary.Graphics;
|
|||
namespace FNAF_Clone;
|
||||
|
||||
public class ClientEnemy : GlobalEnemy<MapTileProjection, TileConnectorProjection> {
|
||||
public ClientEnemy(int typeId, string name, int id, UIElement sprite, int difficulty, MapTileProjection location) : base(difficulty, id) {
|
||||
public ClientEnemy(int typeId, string name, int id, UIElement sprite, int difficulty, MapTileProjection location, JumpscareUIElement jumpscareSprite) : base(difficulty, id) {
|
||||
Name = name;
|
||||
TypeId = typeId;
|
||||
Sprite = sprite;
|
||||
Location = location;
|
||||
JumpscareSprite = jumpscareSprite;
|
||||
}
|
||||
|
||||
// public TextureRegion Sprite { get; set; }
|
||||
|
|
@ -18,4 +19,6 @@ public class ClientEnemy : GlobalEnemy<MapTileProjection, TileConnectorProjectio
|
|||
public UIElement Sprite { get; set; }
|
||||
public override string Name{ get; }
|
||||
public override int TypeId{ get; }
|
||||
|
||||
public JumpscareUIElement JumpscareSprite { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue