Difference between revisions of "Animation"
(Created page with "==Creating Animation Class==") |
|||
Line 1: | Line 1: | ||
==Creating Animation Class== | ==Creating Animation Class== | ||
+ | You need to create a new class, so from the main menu click File, and select New File. Name the class Animation: | ||
+ | |||
+ | [[File:New file class.png|600px]] | ||
+ | |||
+ | You will have the following code: | ||
+ | |||
+ | <syntaxhighlight lang=csharp line> | ||
+ | using System; | ||
+ | namespace TestGame | ||
+ | { | ||
+ | public class Player | ||
+ | { | ||
+ | public Player() | ||
+ | { | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </syntaxhighlight> |