source: 2014/27/AleksanteriV/Protokolla236TrueSurvivor/Protokolla236TrueSurvivor/Protokolla236TrueSurvivor/Player.cs @ 5224

Revision 5224, 494 bytes checked in by mijoilmo, 6 years ago (diff)

vähän kaikkea
player omassa luokassansa

Line 
1using System;
2using System.Collections.Generic;
3using Jypeli;
4using Jypeli.Assets;
5using Jypeli.Controls;
6using Jypeli.Effects;
7using Jypeli.Widgets;
8
9public class Player : PhysicsObject
10{
11    public void rotate(double rotSpeed)
12    {
13
14    }
15    public void throttle()
16    {
17        this.Push(Vector.FromLengthAndAngle(100, this.Angle + Angle.RightAngle));
18    }
19    public Player()
20        : base(40, 40)
21    {
22        this.Image = Proto236b.images["player"];
23    }
24}
Note: See TracBrowser for help on using the repository browser.