public Player() { resetCoords(); sprite = new PlayerSprite2D(true); actionInfoText = new ScreenText("actionInfo", GameData.FontInfo, "", Reference.WHITE, 0, 0); }
/// <summary> /// Adds a new piece of text to the Room. /// </summary> /// <param name="textObj"></param> protected void addNewTextObject(ScreenText textObj) { if (textObj.getName() == null) { RoomTextObjects.Add(iNull.ToString(), textObj); iNull++; } else RoomTextObjects.Add(textObj.getName(), textObj); }