Changeset 4365


Ignore:
Timestamp:
2013-07-02 15:00:32 (6 years ago)
Author:
jumakall
Message:
 
Location:
2013/27/TeemuM/Game
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • 2013/27/TeemuM/Game/Game/Game/Enemies.cs

    r4359 r4365  
    1414    { 
    1515        this.Shape = Shape.Circle; 
    16         createBrain1(); 
    17     } 
    18  
    19     public void createBrain1() 
    20     { 
    21         FollowerBrain brain1 = new FollowerBrain("Player"); 
    22         brain1.Speed = 100; 
    23         brain1.Active = true; 
    24         Zombie1.Brain = brain1; 
    2516         
    2617    } 
  • 2013/27/TeemuM/Game/Game/Game/Game.cs

    r4360 r4365  
    1212    public Image playerImage = LoadImage("Player"); 
    1313 
     14    Zombie1 zombie1; 
     15 
    1416    public override void Begin() 
    1517    { 
     18 
     19 
     20        Zombie1 zombie1 = new Zombie1(50, 50); 
     21 
     22        createBrain1(); 
     23 
     24        Add(zombie1); 
     25         
    1626        game = this; 
    17  
    1827        Player pelaaja = new Player(this, 50, 50); 
     28        pelaaja.Tag = "Player"; 
    1929        Add(pelaaja); 
    2030 
    2131        ScoreMeter(); 
    2232 
    23         PhoneBackButton.Listen(Exit, "Lopeta peli"); 
    2433        Keyboard.Listen(Key.Escape, ButtonState.Pressed, Exit, "Lopeta peli"); 
    2534 
     
    2736    } 
    2837 
     38 
     39    public void createBrain1() 
     40    { 
     41        FollowerBrain brain1 = new FollowerBrain("Player"); 
     42        brain1.Speed = 100; 
     43        brain1.Active = true; 
     44    } 
     45 
    2946    IntMeter scoreboard; 
    30  
    3147    void ScoreMeter() 
    3248    { 
  • 2013/27/TeemuM/Game/Game/Game/Game.csproj

    r4359 r4365  
    116116    <Compile Include="Player.cs" /> 
    117117    <Compile Include="Properties\AssemblyInfo.cs" /> 
     118    <Compile Include="UI.cs" /> 
    118119  </ItemGroup> 
    119120  <ItemGroup> 
  • 2013/27/TeemuM/Game/Game/Game/obj/x86/Debug/ContentPipeline-{7DE21D26-C0FA-4B3B-93A6-C0EF7849F918}.xml

    r4360 r4365  
    88      <Processor>TextureProcessor</Processor> 
    99      <Options>None</Options> 
    10       <Output>C:\MyTemp\TeemuM\Game\Game\Game\bin\x86\Debug\Content\Player.xnb</Output> 
    11       <Time>2013-07-02T14:25:17.1345571+03:00</Time> 
     10      <Output>C:\MyTemp\jumakall\TeemuM\Game\Game\Game\bin\x86\Debug\Content\Player.xnb</Output> 
     11      <Time>2013-07-02T13:02:38.9536571+03:00</Time> 
    1212    </Item> 
    1313    <BuildSuccessful>true</BuildSuccessful> 
     
    1818      <BuildConfiguration>Debug</BuildConfiguration> 
    1919      <CompressContent>false</CompressContent> 
    20       <RootDirectory>C:\MyTemp\TeemuM\Game\Game\GameContent\</RootDirectory> 
    21       <LoggerRootDirectory>C:\MyTemp\TeemuM\Game\Game\Game\</LoggerRootDirectory> 
    22       <IntermediateDirectory>C:\MyTemp\TeemuM\Game\Game\Game\obj\x86\Debug\</IntermediateDirectory> 
    23       <OutputDirectory>C:\MyTemp\TeemuM\Game\Game\Game\bin\x86\Debug\Content\</OutputDirectory> 
     20      <RootDirectory>C:\MyTemp\jumakall\TeemuM\Game\Game\GameContent\</RootDirectory> 
     21      <LoggerRootDirectory>C:\MyTemp\jumakall\TeemuM\Game\Game\Game\</LoggerRootDirectory> 
     22      <IntermediateDirectory>C:\MyTemp\jumakall\TeemuM\Game\Game\Game\obj\x86\Debug\</IntermediateDirectory> 
     23      <OutputDirectory>C:\MyTemp\jumakall\TeemuM\Game\Game\Game\bin\x86\Debug\Content\</OutputDirectory> 
    2424    </Settings> 
    2525    <Assemblies> 
     
    5858      <Assembly> 
    5959        <Key>C:\Windows\Microsoft.Net\assembly\GAC_32\Microsoft.Xna.Framework.Content.Pipeline\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.Content.Pipeline.dll</Key> 
    60         <Value>2012-03-16T14:31:01.662955+02:00</Value> 
     60        <Value>2012-03-16T14:32:40.8080137+02:00</Value> 
    6161      </Assembly> 
    6262    </Assemblies> 
Note: See TracChangeset for help on using the changeset viewer.