Beispiel #1
0
 public Keyboard_Lettre(Vector2 _size, Vector2 position, Texture2D icone, Keyboard.TypeLettre type, float _scale)
 {
     _type     = type;
     size      = _size;
     _position = position;
     _icone    = icone;
     scale     = _scale;
 }
Beispiel #2
0
 public Keyboard_Lettre(Vector2 _size, Vector2 position, SpriteFont _font, string lettre, Keyboard.TypeLettre type, float _scale)
 {
     _type     = type;
     size      = _size;
     scale     = _scale;
     _position = position;
     font      = _font;
     _lettre   = lettre;
 }
Beispiel #3
0
        public Keyboard_Lettre(SpriteFont _font, string lettre, Vector2 position, Keyboard.TypeLettre type, int width, int height, float _scale)
        {
            size = new Vector2((float)(width * 0.08), (float)(height * 0.075));

            _type     = type;
            font      = _font;
            _lettre   = lettre;
            _position = position;
            scale     = _scale;
        }