Changeset 3293 for 2012/26


Ignore:
Timestamp:
2012-06-27 15:07:55 (7 years ago)
Author:
tusalain
Message:

Talletus.

Location:
2012/26/TuomasL
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • 2012/26/TuomasL/Jypeli.xml

    r3246 r3293  
    448448            <returns>Lista olioista</returns> 
    449449        </member> 
    450         <member name="M:Jypeli.Game.GetShapedObjects(Jypeli.Shape)"> 
    451             <summary> 
    452             Palauttaa listan kaikista peliolioista, joilla on tietty muoto. 
     450        <member name="M:Jypeli.Game.DestroyAll"> 
     451            <summary> 
     452            Tuhoaa kaikki pelioliot. 
     453            </summary> 
     454        </member> 
     455        <member name="M:Jypeli.Game.DestroyShaped(Jypeli.Shape[])"> 
     456            <summary> 
     457            Tuhoaa kaikki tietyn muotoiset pelioliot. 
     458            </summary> 
     459        </member> 
     460        <member name="M:Jypeli.Game.Destroy(Jypeli.GameObject[])"> 
     461            <summary> 
     462            Tuhoaa kaikki halutut pelioliot. 
     463            </summary> 
     464        </member> 
     465        <member name="M:Jypeli.Game.GetObjectsByType(Jypeli.GameObject[])"> 
     466            <summary> 
     467            Palauttaa listan tietyn tyyppisistÀ peliolioista. 
     468            Lista on jÀrjestetty pÀÀlimmÀisestÀ alimmaiseen. 
     469            </summary> 
     470            <returns>Listan peliolioista</returns> 
     471        </member> 
     472        <member name="M:Jypeli.Game.GetShapedObjects(Jypeli.Shape[])"> 
     473            <summary> 
     474            Palauttaa listan kaikista peliolioista joilla on tietty muoto. 
    453475            Lista on jÀrjestetty pÀÀllimmÀisestÀ alimmaiseen. 
    454476            </summary> 
    455             <param name="shape">Muoto</param> 
     477            <param name="shapes">Muodo(t)</param> 
    456478            <returns>Lista olioista</returns> 
    457479        </member> 
  • 2012/26/TuomasL/PhysicsManipulator/PhysicsManipulator/PhysicsManipulator/PhysicsManipulator.cs

    r3244 r3293  
    77using Jypeli.Widgets; 
    88 
     9//Lisätyt aliohjelmat: GetAllObjects, GetShapedObjects, GetObjectsByType,  
     10//MakeTransparent, DestroyAll, DestroyShaped, Destroy 
     11 
    912public class PhysicsManipulator : PhysicsGame { 
    1013 
    1114    public override void Begin() { 
     15 
    1216         
    13         ChangeColor(); 
    1417 
    1518        PhoneBackButton.Listen(ConfirmExit, "Lopeta peli"); 
     
    4649        PhysicsObject obj = new PhysicsObject(sX, sY); 
    4750        obj.Shape = shape; 
     51        Add(obj); 
    4852 
    4953        return obj; 
     
    5458 
    5559    } 
    56  
    57     void ChangeColor() { 
    58  
    59  
    60     } 
    6160} 
  • 2012/26/TuomasL/PhysicsManipulator/PhysicsManipulator/PhysicsManipulatorContent/PhysicsManipulatorContent.contentproj

    r3227 r3293  
    4444    <Reference Include="TextFileContentExtension" /> 
    4545  </ItemGroup> 
     46  <ItemGroup> 
     47    <Compile Include="Porkkana.png"> 
     48      <Name>Porkkana</Name> 
     49      <Importer>TextureImporter</Importer> 
     50      <Processor>TextureProcessor</Processor> 
     51    </Compile> 
     52  </ItemGroup> 
    4653  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    4754  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
Note: See TracChangeset for help on using the changeset viewer.