CannonGame.GameObject.GameObject C# (CSharp) Method

GameObject() public method

public GameObject ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
return System
        public GameObject(Texture2D texture, Vector2 position)
        {
            this.texture = texture;
            this.position = position;
        }