Changeset 5343 for 2014/27/AleksanteriV


Ignore:
Timestamp:
2014-07-03 12:34:38 (5 years ago)
Author:
mijoilmo
Message:
 
Location:
2014/27/AleksanteriV/Protokolla236TrueSurvivor/Protokolla236TrueSurvivor/Protokolla236TrueSurvivor
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • 2014/27/AleksanteriV/Protokolla236TrueSurvivor/Protokolla236TrueSurvivor/Protokolla236TrueSurvivor/Player.cs

    r5342 r5343  
    5252        Add(thrusterEffect); 
    5353    } 
     54    public void shoot() 
     55    { 
     56 
     57    } 
    5458    public override void Update(Time time) 
    5559    { 
     
    5761        this.parent.MessageDisplay.Clear(); 
    5862        this.parent.MessageDisplay.Add(this.AbsolutePosition.ToString()); 
    59         if (this.X > parent.Level.Right) { 
     63        if (this.X > parent.Level.Right) 
     64        { 
    6065            this.X = parent.Level.Left; 
    61         }else if (this.X < parent.Level.Left){ 
     66        } 
     67        else if (this.X < parent.Level.Left) 
     68        { 
    6269            this.X = parent.Level.Right; 
    6370        } 
    64         if (parent.CurrentLevel.IsPlanet&&this.Y>parent.Level.Top) { 
     71        if (parent.CurrentLevel.IsPlanet && this.Y > parent.Level.Top) 
     72        { 
    6573            //player pystyy lähteä pois planeetalta kun menee tarpeeksi ylös 
    6674            //TODO: vaihda leveli spaceksi 
    67             if(false){} 
     75            if (false) { } 
    6876        } 
    6977    } 
Note: See TracChangeset for help on using the changeset viewer.