Blink.Classes.SpearClass.SpearClass C# (CSharp) Method

SpearClass() public method

public SpearClass ( PlayerClass spearOwner, Microsoft.Xna.Framework.Graphics.Texture2D spearText, Microsoft.Xna.Framework.Graphics.Texture2D indicatorText, Vector2 ScreenSize, Map m, PlayerClass players ) : System
spearOwner PlayerClass
spearText Microsoft.Xna.Framework.Graphics.Texture2D
indicatorText Microsoft.Xna.Framework.Graphics.Texture2D
ScreenSize Vector2
m Map
players PlayerClass
return System
        public SpearClass(PlayerClass spearOwner, Texture2D spearText,Texture2D indicatorText, Vector2 ScreenSize, /*necesary?*/ Map m, PlayerClass[] players)
        {
            this.spearText = spearText;
            this.indicatorText = indicatorText; 
            this.players = players;
            spear.Width = spearText.Width-20;
            spear.Height = spearText.Height;
            Width = spearText.Width;
            Height = spearText.Height;
            velocity.X = 0;
            velocity.Y = 0;
            this.spearOwner = spearOwner;
            spearOrientation = 0;
            this.SCREENSIZE = ScreenSize;
            this.m = m;
            spearOwner.setSpear(this);
        }