Gruppe22.Client.Mainmap.floatNumber C# (CSharp) Méthode

floatNumber() public méthode

public floatNumber ( Backend tile, string text, Color color ) : void
tile Backend
text string
color Color
Résultat void
        public void floatNumber(Backend.Coords tile, string text, Color color)
        {
            uint delay = 0;
            if (_floatnumbers.Count > 0)
            {
                delay = _floatnumbers[_floatnumbers.Count - 1].delay + 20;
            }
            _floatnumbers.Add(new FloatNumber(_content, _spriteBatch, tile, text, _camera, color, 10, delay));
        }